??? 03/15/07 08:06 Read: times |
#135037 - This is what happens... Responding to: ???'s previous message |
... when the hand is faster than head. You certainly know how both MOVP and MOVC work, and you'd never do it wrong in a REAL program - the snippet went wrong, though. I think this happens here all the time - you want to help and writes down things which would never write down in a real program, as in real program you'd never try to write down something REALLY SIMPLE...
One of the major differences between the '48 and '51 core is, that in '48 the jumps are never relative (and the same applies for MOVP/MOVC). This is much easier to implement - it's only a latch, compared to the much more complicated adder needed for the relative jump. In '51, the short jumps (SJMP and the conditional jumps) are relative, while LJMP/LCALL and AJMP/ACALL are absolute, the latter being true relic left over from the '48 era... JW |
Topic | Author | Date |
Converting MCS 48 TO MCS 51 INSTRUCTIONS | 01/01/70 00:00 | |
Try to search in the internet | 01/01/70 00:00 | |
MSC 48 to MSC51 instructions | 01/01/70 00:00 | |
A link? | 01/01/70 00:00 | |
Previously, on 8052.com | 01/01/70 00:00 | |
Context | 01/01/70 00:00 | |
If I remember correctly ... | 01/01/70 00:00 | |
THIS one certainly won't work... | 01/01/70 00:00 | |
Did I forget something? | 01/01/70 00:00 | |
This is what happens... | 01/01/70 00:00 | |
'48 the jumps are never relative![]() | 01/01/70 00:00 |