What does AND 2**4 mean in Assembly?

Status
Not open for further replies.

feiutm9898

Full Member level 4
Joined
May 31, 2004
Messages
224
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Location
Singapore
Activity points
2,027
AND 2**4 mean?

Hello.

I can't understand the assembly language coding as shown at below:

AND 2**4

Please tell me or point out some reference link to me.

Thanks.
 

Re: AND 2**4 mean?

What kind of assembly language do you mean?
 

Re: AND 2**4 mean?

I think that 2**4 is the same as 2 to the power 4 (old notation)
so 2**4 = 2^4 = 16

AND 16
 

Re: AND 2**4 mean?

P Puk said:
I think that 2**4 is the same as 2 to the power 4 (old notation)
so 2**4 = 2^4 = 16

AND 16

Iniatially, I think like that too. But, I think it is incorrect and have another anwser.
 

Re: AND 2**4 mean?

Normal instruction : AND s
Operation : A <-- A and s
The s operand is any of r, n, (HL), (IX+d), or (IY+d)
I don't know AND 2**4
 

Re: AND 2**4 mean?

Maybe its not a MCU instruction but a (conditional) assembler instruction. I would check the assembler manual for it.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…