Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/25/02 20:30
Read: 535 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)

List of 19 messages in thread
TopicAuthorDate
compile a simple sample program part 2      Jeff Corr      05/24/02 17:06      
RE: compile a simple sample program part 2      Erik Malund      05/24/02 17:48      
RE: compile a simple sample program part 2      Phillip M Gallo      05/24/02 18:04      
RE: compile a simple sample program part 2      Jeff Corr      05/24/02 22:35      
RE: compile a simple sample program part 2      Jeff Corr      05/24/02 22:36      
RE: compile a simple sample program part      Steve M. Taylor      05/25/02 00:53      
RE: compile a simple sample program part      Jeff Corr      05/25/02 01:18      
RE: compile a simple sample program part 2      Peter Dannegger      05/25/02 04:22      
RE: compile a simple sample program part 2      Jeff Corr      05/25/02 20:25      
RE: compile a simple sample program part 2      Jeff Corr      05/25/02 20:30      
RE: compile a simple sample program part 2      Phillip M Gallo      05/26/02 00:11      
RE: compile a simple sample program part 2      Phillip M Gallo      05/26/02 00:19      
RE: compile a simple sample program part      Steve M. Taylor      05/26/02 12:56      
RE: compile a simple sample program part      Peter Dannegger      05/27/02 00:25      
RE: compile a simple sample program part      Jeff Corr      05/27/02 01:32      
RE: compile a simple sample program part      Chris Brooks      05/27/02 02:43      
RE: compile a simple sample program part 2      Andy Neil      05/27/02 13:38      
RE: compile a simple sample program part 2      Alexz Haages      05/28/02 13:28      
RE: compile a simple sample program part      Raghavendra Raghav      09/20/02 23:56      

Back to Subject List