Search found 2 matches

by underestimated
Mon Feb 27, 2006 10:27 am
Forum: NESdev
Topic: Weird Opcode: BPL $FB
Replies: 7
Views: 6627

Thanks

THanks a lot, that makes a lot of sense. I hadn't heard of relative branching before this but now I understand.
by underestimated
Tue Jan 24, 2006 10:23 pm
Forum: NESdev
Topic: Weird Opcode: BPL $FB
Replies: 7
Views: 6627

Weird Opcode: BPL $FB

I've noticed when disassembling some roms that when they do the wait for vblank they'll say BPL $FB. But what does the $FB stand for? Cause I've seen it used like so:

LDX #$12
LDA #$00
STA $00,X
INX
BNE $FB

Which is obviously supposed to be a loop. Can anyone explain this to me?

Thanks