??? 08/06/04 13:24 Read: times |
#75564 - RE: IAP Problem in P89C51RD2HBP Responding to: ???'s previous message |
Hello Mr. Kiran V. Sutar,
For the program that catches what you thought you did with what you actually did, The D51.EXE disassembler is great for finding errors that Oleg caught. I took your coded compiled it with ASEM.EXE and ran D51.EXE disassembler on it and it allowed for the errors to be shown easily. D51.EXE disassembly is public domain software and is easy to run. Regards, Charles Bannister ; 8051 Disassembly of sutar1.hex ; 8/6/2004 org 0 reset: push ie clr ea orl 0a2h, #20h mov r0, rb1r3 ;; <==============ERROR============== mov r1, #1 mov dph, #80h mov dpl, #0 lcall Xfff0 mov r0, rb1r3 ;; <==============ERROR============== mov r1, #1 mov dph, #80h mov dpl, #0 lcall Xfff0 anl 0a2h, #0dfh pop ie ret ; register equates rb1r3 equ 0bh ; miscellaneous equates X0003 equ 3 X0013 equ 13h X0023 equ 23h Xfff0 equ 0fff0h end |
Topic | Author | Date |
IAP Problem in P89C51RD2HBP | 01/01/70 00:00 | |
RE: IAP Problem in P89C51RD2HBP | 01/01/70 00:00 | |
RE: IAP Problem in P89C51RD2HBP | 01/01/70 00:00 | |
RE: IAP Problem in P89C51RD2HBP | 01/01/70 00:00 | |
RE: IAP Problem in P89C51RD2HBP | 01/01/70 00:00 | |
RE: IAP Problem in P89C51RD2HBP | 01/01/70 00:00 | |
RE: IAP Problem in P89C51RD2HBP | 01/01/70 00:00 | |
RE: IAP Problem in P89C51RD2HBP![]() | 01/01/70 00:00 |