| ??? 05/26/02 02:30 Read: times |
#23440 - RE: compile a simple sample program part 2 |
Phillip, I compiled the following ASM as per your instruction :
$mod51 org 00h start: mov r0,#0ffh mov r1,#0ffh setb p2.0 l1: djnz r1,l1 djnz r0,l1 clr p2.0 mov r0,#0ffh mov r1,#0ffh setb p2.3 l2: djnz r1,l2 djnz r0,l2 clr p2.3 jmp start end No compiler errors were found this time, but the program still does not appear to be running. (One LED only stays lit.) Is there a special command I must type in the loader to tell the system to use onboard flash memory for running programs? (or something strange like that) |



