??? 05/20/08 19:36 Read: times |
#154974 - Very Strange!!! Responding to: ???'s previous message |
The uC is AT89S52, should accept indirect addressing to addresses 80h and higher right? I writed a code to test:
Test: MOV R0,#128 MOV @R0, #10101010b MOV P2,@R0 JMP Test end Strangely P2 returns always 255, but if R0 is #127 the P2 shows the right value! Bad 8052? |
Topic | Author | Date |
Indirect addressing trouble (with midi) | 01/01/70 00:00 | |
Not sure I understand | 01/01/70 00:00 | |
Midi | 01/01/70 00:00 | |
CJNE | 01/01/70 00:00 | |
90H is Midi Note ON command | 01/01/70 00:00 | |
Yes, appears bad | 01/01/70 00:00 | |
Very Strange!!! | 01/01/70 00:00 | |
Not strange | 01/01/70 00:00 | |
But is indirect address!? | 01/01/70 00:00 | |
You are right | 01/01/70 00:00 | |
It seems that 8052 is bad! | 01/01/70 00:00 | |
Some suggestions | 01/01/70 00:00 | |
Excuse me! But I dont agree | 01/01/70 00:00 | |
Don't blame the processor! | 01/01/70 00:00 | |
From time to time it happens... | 01/01/70 00:00 | |
check value of r0 | 01/01/70 00:00 | |
Problem Solved! | 01/01/70 00:00 | |
full 'name' please![]() | 01/01/70 00:00 |