URGENT: help needed on 6800

I need help FAST!!. I'm in dire situation right now. I have the 6800B-based program that need to assembled without errors.
I've tried to assemble the program but due to my lack of experience in the 6800-based program, it produces way too many errors.
Please anyone who has experience on the 6800 assembling, help..

Here is the program:

NOP
CLR A
STA A,A000
LDA A,C003
CMP A#7F
BEQ 04
STA A,80
BRA 5A
LDA A#BD
LDX #C160
STA A,00
LSR A
INX
CPX #C168
BNE F7
BRA E5
LDA A,80
CMP A#7E
BEQ 15
LDA A,80
CMP A#7D
BEQ 1E
LDA A,80
CMP A#7B
BEQ 2C
LDA A,80
CMP A#77
BEQ 2C
JSR FCOO
CLR A
STA A,8000
LDX #FFFF
DEX
BNE FD
INC A
BNE F4
BRA B7
CLR B
STA B,8000
LDA A#04
LDX #FFFF
DEX
BNE FD
DEC A
BNE F7
INC B
BNE EF
BRA A2
CLA A
STA A,9000
BRA D7
CLR A
STA A,9000
BRA E0
LDA A#E7
LDX #C160
STA A,00
LSR A
INX
CPX #C168
BNE F7
BRA A6

thanx.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories