Re: A86: registers


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

Re: A86: registers




B is the most significant byte.  C is the least significant byte.  Just
think of BC as a full 16-bit register:

 10101010  01010101 
\________/\________/
  MSB (B)   LSB (C)

B = 10101010
C = 01010101
BC = 1010101001010101

Btw, I just made up those numbers (expressed in binary).  Don't get
confused by them, they're just for demonstration purposes on how two 8-bit
registers get put together to form a 16-bit one (as in BC, DE or HL).

At 06:17 PM 8/29/98 EDT, you wrote:
>
>in the register bc, is b or c the most significant byte?
>

--
David Phillips
mailto:electrum@tfs.net
ICQ: 13811951
AOL/AIM: Electrum32


References: