[A83] Re: DivHLbyA


[Prev][Next][Index][Thread]

[A83] Re: DivHLbyA




> A tip.
> If you want to store words to use with for example hl,
> and don't want to have to think about byte order,
> use .dw instead of .db.
> .dw defines a word instead of a byte, and automaticly 
takes care of byte order.

Another tip.

If you program in assembly, learn how the CPU handles byte 
order. You are going to use this property a lot, if you are 
to make serious programs. (Actually not all CPU's put the 
low byte in the front.)

PG




References: