Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; New problem
- SET A, label1 ; Ahead of time, this is considered one word
- SET A, 0x8000 ; Same story
- label1: ; So this is 0x0002
- ; But during the second pass...
- SET A, label1 ; label1 is 0x2, so this can be a short literal
- SET A, 0x8000 ; this is long, so all label values ahead of it are shifted forward one
- label1: ; This is 0x3 now
- ; the first line assembled with label1 == 0x2 :/
Advertisement
Add Comment
Please, Sign In to add comment