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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/26/03 12:24
Read: times


 
#37301 - RE: ORG directive not failing.
Hello John,

Using the TASKING assembler on the following code:

ORG 00h
ljmp main
ORG 03h
ljmp isr_X0
ORG 0Bh
ljmp isr_T0
ORG 064h
main: jmp main

isr_X0: reti
isr_T0: reti
END


resulted in the following list-file:

8051 assembler v5.0 r2 SN00089340-049 (c) 2000 TASKING, Inc.
PAGE 1

LOC OBJ LINE SOURCE

1 # 1 "asmtest.asm"
1
2 ORG 00h
0000: 020064 3 ljmp main
4 ORG 03h
0003: 020066 5 ljmp isr_X0
6 ORG 0Bh
000B: 020067 7 ljmp isr_T0
8 ORG 064h
0064: 80FE 9 main: jmp main
10
0066: 32 11 isr_X0: reti
0067: 32 12 isr_T0: reti
0068: 13 END


and this HEX file:

:060000000200640200662C
:03000B0002006789
:0400640080FE3232B6
:0400000300000000F9
:00000001FF

Looks OK to me..

List of 17 messages in thread
TopicAuthorDate
ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive failing?            01/01/70 00:00      
RE: ORG directive not failing.            01/01/70 00:00      

Back to Subject List