programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: swiftx: 8051 gp bits

From: <chuck_at_sanna.com>
Date: Fri, 26 Sep 2003 16:12:44 -0700 (PDT)

On the 8051, byte locations 0x20 thru 0x2F are bit addressable, giving you
16*8 general purpose bits. Swiftx assembler looks like it can access them
via 'setb', 'clr', and a jump on bit, but I don't know how to compile a
bit variable.

On Fri, 26 Sep 2003, Leon Wagner wrote:

> What's a "general purpose" bit?
>
> > -----Original Message-----
> > From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On Behalf
> > Of chuck_at_sanna.com
> > Sent: Friday, September 26, 2003 2:58 PM
> > To: sftalk_at_forth.com
> > Subject: [sftalk] swiftx: 8051 gp bits
> >
> >
> > Hello,
> >
> > I'm unable to find any info in the docs or source for allocating and using
> > general purpose bits in the 8051 product.
> >
> > I found the setb instruction, but the examples only applied to the special
> > function registers, yet it is capable of setting the general purpose ones
> > as well, I just don't know how to get the assembler or compiler to
> > allocate them.
> >
> > Thanks,
> >
> > Chuck
> >
> >
> >
> > ----------------------------------------------------------------------
> > sftalk_at_forth.com The SwiftForth programming discussion email list
> > To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> > For list command help, send subject "help" to sftalk-request_at_forth.com
> > Message archives are located at http://www.forth.com/archive/sftalk
> > ----------------------------------------------------------------------
> > This list is a forum for SwiftForth users. For product support and bug
> > reports, please send email to support_at_forth.com
> > ----------------------------------------------------------------------
> >
> >
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Fri Sep 26 2003 - 16:16:19 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:33 PST