0 Members and 4 Guests are viewing this topic.
ld hl,(axv_A) ld de,JT1 ld a,4call JumpTableJT1:.dw 0,ZER.dw 5,FIV.dw 10,TEN.dw 1000,THOJumpTable: ld b,h ld c,l ex de,hlloop: ld e,(hl) inc hl ld d,(hl) inc hl ex de,hl or a sbc hl,bc ex de,hl ld e,(hl) inc hl ld d,(hl) jr z,done inc hl dec a jr nz,loop retdone: pop hl ex de,hl jp (hl)
ld hl,(axv_A) ld de,JT1 ld b,4call JumpTableJT1:.dw 0,ZER.dw 5,FIV.dw 10,TEN.dw 1000,THOJumpTable:loop: ld a,(de) cp l inc de jr nz,skip ld a,(de) cp hskip: inc de ld a,(de) inc de jr z,done inc de djnz loop retdone: pop hl ld l,a ld a,(de) ld h,a jp (hl)
First that the Axe-specific entries in the catalog are implemented in the alphabetical order, so that tey're more easy to find.
Quote from: Calcaholic on February 03, 2011, 06:56:52 pmFirst that the Axe-specific entries in the catalog are implemented in the alphabetical order, so that tey're more easy to find.I don't remember where, but I think someone asked for this before (I think it was somewhere in this thread). Quigibo said that it would actually be kinda hard. But I might be mistaken.
Sounds awesome! I can't wait for switches. I second the request for the #define command.
Quote from: ztrumpet on February 03, 2011, 06:27:18 pmSounds awesome! I can't wait for switches. I second the request for the #define command. What would it do?
Like if you didn't want to remember a number like E848E, you could #define a name for it.
Quote from: Deep Thought on February 04, 2011, 10:30:45 amLike if you didn't want to remember a number like E848E, you could #define a name for it.Like #Define($848E, SAUSAGE), so that SAUSAGE = $848E