Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Glorp
Created September 3, 2018 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Glorp/ebc6b80682f09efbbe67da04624cfa03 to your computer and use it in GitHub Desktop.
Save Glorp/ebc6b80682f09efbbe67da04624cfa03 to your computer and use it in GitHub Desktop.
!cpu 6502
!to "jump.prg",cbm
* = $0801
!byte $0d,$08,$dc,$07,$9e,$20,$34,$39
!byte $31,$35,$32,$00,$00,$00
* = $c000
ldx foo_addr
ldy foo_addr+1
jmp jumpxy
foo lda #$01
sta $0400
end rts
foo_addr !16 foo
jumpxy stx hopxy+1
sty hopxy+2
hopxy jmp end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment