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)
"I think, because this command is start with Alphabet ..."
Yep, which is clearly described in the manual.
( A0H is the direct address of â€Å"Port1†) 0a0h is the address of port2