Searching \ for '[OT]UMPS and SXKEY' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/languages.htm?key=sx
Search entire site for: 'UMPS and SXKEY'.

Exact match. Not showing close matches.
PICList Thread
'[OT]UMPS and SXKEY'
2000\05\29@112345 by Soon Lee

flavicon
face
Hi
any one know of any way to convert parallax sxkey code to hex code that is compatible with UMPS

2000\05\30@081207 by Philippe

flavicon
face
At 23:22 29/05/00 +0800, you wrote:
>Hi
>any one know of any way to convert parallax sxkey code to hex code that is
>compatible with UMPS

Most of Parallax instruction is compatible with normal SX assembler at
some exception such as the one listed bellow. Unfortunatly this is
PSEUDO-CODE and not assembly instruction.
The other thing is the unconventionnal ":" that is behind each label.
I have listed here some of the parallax pseudo code, ths list is not
exhaustive.
A Way to convert your code is either to compile it and to load the HEX result
into UMPS and then to save it as disassembled code.
In order to do thing properly you will also need to load some LABEL
and Variable table.
Another way is to replace manually all pseudo code by real instruction.

Best regards,
       Philippe TECHER.

 +--------------------------------------------------------+
 |  Virtual Micro Design                                  |
 |  Technopole Izarbel,                                   |
 |  64210 BIDART                                          |
 |  FRANCE                                                |
 |                                                        |
 |  Phone: ++33 559.438.458   Fax: ++33 559.438.401       |
 |                                                        |
 | E-Mail: spam_OUTp.techerTakeThisOuTspamvmdesign.com                          |
 | URL:    http://www.vmdesign.com                        |
 +--------------------------------------------------------+




>> addb RegDst,C

       snb Status.0
       inc RegDst

>> movb Port.bitPort, RegSrc.bitRegSrc

       snb  RegSrc.bitRegSrc
       clr  Port.bitPort
       sb   RegSrc.bitRegSrc
       setb Port.bitPort

>> add RegDst,RegSrc

       mov W,RegSrc
       mov RegDst,W

>> mov RegDst,#value

       mov W,#value
       mov RegDst,W

>> djnz RegSrc,addr

       decsz RegSrc
       jmp addr

=============================

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...