![]() |
Electronic Components Datasheet Search |
|
S3C72G9 Datasheet(PDF) 47 Page - Samsung semiconductor |
|
|
S3C72G9 Datasheet(HTML) 47 Page - Samsung semiconductor |
47 / 96 page ![]() ))!%+'-!'0 %!1 CALLS dst Operation: Operand Operation Summary Bytes Cycles ADR Call direct in page (11 bits) 2 3 Description: The CALLS instruction unconditionally calls a subroutine located at the indicated address. The instruction increments the PC twice to obtain the address of the following instruction. Then, it pushes the result onto the stack, decreasing the stack pointer six times. The higher bits of the PC, with the exception of the lower 11 bits, are cleared. The CALLS instruction can be used in the all range (0000H-7FFFH), but the subroutine call must therefore be located within the 2 K byte block (0000H-07FFH) of program memory. Operand Binary Code Operation Notation ADR 1 1 1 0 1 a10 a9 a8 [(SP-1) (SP-2)] ← EMB, ERB a7 a6 a5 a4 a3 a2 a1 a0 [(SP-3) (SP-4)] ← PC7-0 [(SP-5) (SP-6)] ← PC14-8 Example: The stack pointer value is 00H and the label 'PLAY' is assigned to program memory location 0345H. Executing the instruction CALLS PLAY at location 0123H will generate the following values: SP = 0FAH 0FFH = 0H 0FEH = EMB, ERB 0FDH = 2H 0FCH = 3H 0FBH = 0H 0FAH = 1H PC = 0345H Data is written to stack locations 0FFH-0FAH as follows: SP - 6 (0FAH) PC11 - PC8 SP - 5 (0FBH) 0 PC14 PC13 PC12 SP - 4 (0FCH) PC3 - PC0 SP - 3 (0FDH) PC7 - PC4 SP - 2 (0FEH) 0 0 EMB ERB SP - 1 (0FFH) 0 0 0 0 SP → (00H) |
Similar Part No. - S3C72G9 |
|
Similar Description - S3C72G9 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |