Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Problematic code.
- mov ax, 50
- mov cx, 20
- mul cx
- ; Without jmp $
- ; Message will be executed! as there is nothing stopping it from running.
- ; jmp $ means jump to self. Essentially jump back to the jump instruction. while (1) { }
- jmp $
- message: db ' Hello World'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement