| Electronic Components Datasheet Search |
|
DP8344 Datasheet(PDF) 144 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP8344 Datasheet(HTML) 144 Page - National Semiconductor (TI) |
|
144 / 184 page ![]() 60 Reference Section (Continued) LCALL Conditional Long Call Syntax LCALL Rs p s nn register absolute Affected Flags None Description If the bit in position p of register Rs is equal to the bit s then push the Program Counter the ALU flags the Global Inter- rupt Enable bit GIE and the current register bank selec- tions onto the internal Address Stack Following the push transfer control to the instruction at the absolute memory address nn The operand Rs may specify any active CPU register The value of p may be from 0 to 7 where 0 corre- sponds to the LSB of Rs and 7 corresponds to the MSB of Rs The absolute value nn is 16 bits long (range 0 to 64k) therefore all of instruction memory can be addressed Example Call the ‘‘LoadXmit’’ subroutine when the Transmitter FIFO Empty flag TFE of the Network Command Flag register NCF is ‘‘1’’ EXX 00 select main A alt B LCALL NCF71 LoadXmit If TFE e1 call Instruction Format 1000111 Opcode s p Rs 15 8 7 4 0 nn 15 0 T-states (2 a 2) Bus Timing Figure 6-3 Operation If Rs p e s then PC GIE ALU flags register bank selections x Address Stack nn xPC End if LCALL Unconditional Long Call Syntax LCALL nn absolute Affected Flags None Description Pushes the Program Counter the ALU flags the Global In- terrupt Enable bit GIE and the current register bank selec- tions onto the internal Address Stack then unconditionally transfers control to the instruction at the absolute memory address nn The value of nn is 16 bits long (range 0 to 64k) therefore all of instruction memory can be addressed Example Transfer control to the subroutine ‘‘Senditall’’ which could be located anywhere in instruction memory LCALL Senditall Instruction Format 1100111010000000 Opcode 15 0 nn 15 0 T-states (2 a 2) Bus Timing Figure 6-3 Operation PC GIE ALU flags register bank selections x Address Stack nn xPC 144 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |