??? 10/15/05 05:26 Read: times |
#102447 - where does org100h and org30h branch to? Responding to: ???'s previous message |
Claus Knudsen said:
;Code in the 8051 book i'm reading: ORG 0 LJMP MAIN ORG 0BH ;or other interrupt address LJMP timer1_ISR ORG 23H ;serial interrupt for example LJMP serial_ISR ORG 30H MAIN: ; initialize ; initialize ports, timers, variables etc . . . ; do forever do_forever: ; do what you have to do between interrupts . . . jmp do_forever ORG 100H; timer1_ISR: . . RETI serial_ISR: ;. ;. RETI end can any one tell me where org 100h & org 30h branches in the above code.. |