0 Members and 2 Guests are viewing this topic.
ld a,(var_A)add a,5ld (var_A),a
ld a,(var_A)add a,5ld l,ald h,0ld (var_B),hl
ld a,(var_A)add a,5ld l,arlasbc a,ald h,ald (var_B),hl
ld a,(var_A)push af ;save A in case it will get overwritten (seems to be an Axe standard)ld hl,(var_P)inc hlld (var_P),hlpop afadd a,(hl)ld (var_A),a
]A+1->A[]B+1->B[<8bit>A+1->AB+1->B<16bit>
HoMM: [==--------] Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :PtiDE: [----------] Explored and understood the main part of the code: just started writing a Tokenizer.