I'm trying to simulate with uCsim an application compiled by IAR
Embedded Workbench for CC2430 (I can't compile with SDCC because I have
not the full source code). uCsim seems to hang accessing memory
addresses greater than 64K. For example, debugging with IAR I can see a
function beginning at 0x1dee2:

 01DEE2 C0 82          PUSH  DPL
 01DEE4 C0 83          PUSH  DPH
 01DEE6 90 03 F8       MOV   DPTR,#0x03F8
 01DEE9 E4             CLR   A
 01DEEA F0             MOVX  @DPTR,A
 01DEEB A3             INC   DPTR
 01DEEC F0             MOVX  @DPTR,A
 01DEED 90 93 47       MOV   DPTR,#0x9347
 01DEF0 74 02          MOV   A,#0x02
 01DEF2 80 05          SJMP  0x01DEF9
 01DEF4 90 59 3A       MOV   DPTR,#0x593A
 01DEF7 74 02          MOV   A,#0x02
 01DEF9 12 00 86       LCALL 0x000086
 ...

But it seems uCsim cannot even see these instruction:

s51> dis 0x1dee2 0 1
 ? 0x1dee2 00       NOP

How can I make uCsim see address greater than 0x10000?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to