Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET A, 0
- some_loop:
- SET B, some_code
- ADD B, A
- JSR B
- ADD A, 1
- IFN A, 10
- SET PC, somewhere_else
- SET PC, some_loop
- some_code:
- SET C, 100
- some_chain: ; shitty example, I know
- ADD C, 1
- ADD C, 1
- ADD C, 1
- ADD C, 1
- ADD C, 1
- ADD C, 1
- ADD C, 1
- ADD C, 1
- ADD C, 1
- ADD C, 1
- SET PC, POP ; By the way, how does the assembler figure out where this routine ends and more dead code starts?
Advertisement
Add Comment
Please, Sign In to add comment