Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; How .org really works
- ; ...cocksucker
- label1: ; value: 0x0000
- SET A, label1 ; output: 0x7C01 0x0000; address: 0x0000
- .org 0x8000
- label2: ; value: 0x8000
- SET A, label2 ;output: 0x7C01 0x8000; address: 0x0002
- ; .org changes the offset of all labels beyond it. It DOES NOT move code. It DOES NOT fill in zeroes.
Advertisement
Add Comment
Please, Sign In to add comment