This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Direct Addressing

I am using 89c51.

In ASM when I use the command to access the direct address, in some cases its work perfectly but in some case its didn’t work

When I use this command

MOV 80H, #0d

( 80H is the direct address of “Port0†)

Its work perfectly
But when I use this command

MOV A0H, #0d

( A0H is the direct address of “Port1†)

Its didn’t work.

I think, because this command is start with Alphabet (A0H) and first one is start with numeric (80H)

0