0 Members and 2 Guests are viewing this topic.
http://clrhome.co.cc/resources/table/ (hover for size, time, and flags)[/ad]
A label is just a nice reference point for other instructions to refer to. It's just a number, and it's not any code at all.
Quote from: calcdude84se on July 03, 2011, 05:54:16 amA label is just a nice reference point for other instructions to refer to. It's just a number, and it's not any code at all.But they have to take up space... right? Ahh well, s'pose I have all the info now, thanks.
.org $9D95 - 2.db $BB,$6D LD HL,0 ; This instruction starts at $9D95 and is three bytes longLabel: LD DE,Label ; This instruction starts at $9D98 and is three bytes long
.org $9D95 - 2.db $BB,$6D LD HL,0 ; This instruction starts at $9D95 and is three bytes longLabel .EQU $9D98 LD DE,Label ; This instruction starts at $9D98 and is three bytes long
.org $9D95 - 2.db $BB,$6D LD HL,0 ; This instruction starts at $9D95 and is three bytes long LD DE,$ ; This instruction starts at $9D98 and is three bytes long
.org $9D95 - 2.db $BB,$6D LD HL,0 ; This instruction starts at $9D95 and is three bytes long LD DE,$9D98 ; This instruction starts at $9D98 and is three bytes long