xdata at 0x4003 somevar;
 
foo()
{
    ....
    somevar = 128;
    ....
}
 
 
-----Original Message-----
From: sdcc-user-admin@lists.sourceforge.net [mailto:sdcc-user-admin@lists.sourceforge.net]On Behalf Of Evan Carew
Sent: Wednesday, March 28, 2001 2:12 PM
To: SDCC Users
Subject: [Sdcc-user] Assembler to C

I just bought one of those PAULMON 8051 starter boards to try out the 8051 controller. While looking over his hardware and associated source code, I came accross the following assembler code:

mov dptr, #0x4003
mov a, #128
movx @dptr, a

The question is, how can this be converted to C under sdcc
-- 
Evan L. Carew
E-Mail: carew@pobox.com
Web:    http://home.msen.com/~carew/

Linux, where do you want to go tomorrow?
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/sdcc-user