From: Jacob Everist <everistj@uc...> - 2001-02-03 10:31:35
Just need a little help for a newbie. Having difficulty finding
information on the asx8051.
From my previously used ghetto DOS 8051 assembler, the following code
; Program 0
; This program stores the value "1" in register R0. It then
; repeatedly adds the contents of R0 to the accumulator.
ORG 0000H ; Assembler directive
JMP GO ; Jump around the area used for interrupts
ORG 0010H ; Assembler directive
GO: CLR A ; clear the accumulator
MOV R0,#01H; Put value "1" in R0
ONE: ADD A, R0 ; add R0 to accumulator
JMP ONE ; endless loop
END ; Assembler directive
However, this does not assemble using asx8051. Can someone tell me how I
might tweak this code to get it to work and what command line syntax I
I can't even find any code that will assemble with this assembler. I
with the hope that this was a compilable file, but to no avail. It did
okay on the preprocessor directives but started choking on the actual
Can someone help me out here?