hello,
i tried the task in the Conditional Branch section in the “Intro to assembly language” - module, but i am stuck.
i understand the code like this:
_start:
mov rax, 5 ;put 5 to rax
imul rax, 5 ;multiply rax with itself
loop:
cmp rax, 10 ;do 10-5
jnz loop ;if result not zero, jump to loop
the task is to modify the line
mov rax, 5
to make it not loop.
i tried some variations but nothing work. can someone give me a hint? obviously i did something wrong…
thx a much for help