Re: A92: learning assembly - real simple question
[Prev][Next][Index][Thread]
Re: A92: learning assembly - real simple question
In a message dated 98-07-29 18:05:21 EDT, you write:
> In a message dated 7/29/98 4:58:27 PM Eastern Daylight Time,
> ADAMMAN106@aol.com writes:
>
> > sorry, but I don't know any 68K. but say D1 (which I'll assume for the
> > purposes of this is a longword (32 bit) register) was 0xFEDCBA98, then
> the
> > result of clr.w D1 would be FEDC0000
> > I couldn't tell you how to clear the upper word, sorry
> >
> > ~Adamman
> but having 8 bits (FEDCBA98 has 8 digits/characters) that would make it a
> byte, right?
no, because each character in a hex number (denoted by 0x) is four bits. so
that would make it 4*8 = 32 = longword
~Adamman