|ARM Technical Support Knowledge Articles|
Applies to: MON51 Target Monitor
Information in this article applies to:
I've ported the Keil 8051 monitor to my target, but I don't think the dual data pointers are getting properly saved in the serial interrupt the monitor uses. The code included there is listed below:
PUSH A PUSH DPL PUSH DPH PUSH PSW MOV PSW,#0x00 MOV DPTR,#0x0C07
There was a problem in the older MON51DP2.LIB. It has been corrected in C51 V5.20 and later. The new 8051 monitor does save the dual data pointer registers and generates the following code for the serial interrupt...
PUSH A PUSH DPS MOV DPS, #00 PUSH DPL PUSH DPH PUSH PSW
Article last edited on: 2005-08-03 11:43:14
Did you find this article helpful? Yes No
How can we improve this article?