PDA

View Full Version : Help in coding



aliciamee
- 10th March 2009, 02:28
Can anyone explain this code for me? I want to know how this code works.
SC0SR EQU $00CC
SC0DR EQU $00CF

ORG $8000

MAIN LDAA #00
LDAA $0258
CMPA #00
BEQ MAIN

SEND STAA SC0DR
BRCLR SC0SR,$80,*
JMP MAIN

Bruce
- 10th March 2009, 03:27
Looks like an assembly language program for a Motorola 68HC11 class controller. And you
would for sure be on the wrong forum to ask questions about this animal...;o}

If you need help on assembler for this particular target, try here http://www.owlnet.rice.edu/~elec201/Book/6811_asm.html

Or try contacting the original author of the code fragment you have.