SirCmpwn

Untitled

Apr 29th, 2012
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. ; How .org really works
  2. ; ...cocksucker
  3.  
  4. label1: ; value: 0x0000
  5. SET A, label1 ; output: 0x7C01 0x0000; address: 0x0000
  6. .org 0x8000
  7. label2: ; value: 0x8000
  8. SET A, label2 ;output: 0x7C01 0x8000; address: 0x0002
  9.  
  10. ; .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