The following tech recipe covers how to use jmp.
jmp, used as a jump statement, jumps from one place to another.
result_msg DB 'true inside if statement',0
test_msg DB 'no jmp',0
All of the code in this program is passed over by this jmp command. Try moving it to different places to prove that it is a static jump, and all code between the jump and the target (in this case, the tag done) is skipped.
Questions/Comments: [email protected]
-William. § (marvin_gohan)