![]() |
Electronic Components Datasheet Search |
|
S3C72G9 Datasheet(PDF) 60 Page - Samsung semiconductor |
|
|
S3C72G9 Datasheet(HTML) 60 Page - Samsung semiconductor |
60 / 96 page ![]() 5-2$')&'0'!" %!1 JR (Continued) Examples: 1. A short form for a relative jump to label 'KK' is the instruction JR KK where 'KK' must be within the allowed range of current PC-15 to current PC+16. The JR instruction has in this case the effect of an unconditional JP instruction. 2. In the following instruction sequence, if the instruction 'LD WX, #02H' were to be executed in place of 'LD WX,#00H', the program would jump to 1004H and 'JPS CCC' would be executed. If 'LD WX,#03H' were to be executed, the jump would be to1006H and 'JPS DDD' would be executed. ORG 1000H JPS AAA JPS BBB JPS CCC JPS DDD XXX LD WX,#00H ; WX ← 00H LD EA,WX ADS WX,EA ; WX ← (WX) + (EA) JR @WX ; Current PC12-8 (10H) + WX (00H) = 1000H ; Jump to address 1000H and execute JPS AAA 3. Here is another example: ORG 1100H LD A,#0H LD A,#1H LD A,#2H LD A,#3H LD 30H,A ; Address 30H ← A JPS YYY XXX LD EA,#00H ; EA ← 00H JR @EA ; Jump to address 1100H ; Address 30H ← 00H If 'LD EA,#01H' were to be executed in place of 'LD EA,#00H', the program would jump to 1101H and address 30H would contain the value 1H. If 'LD EA,#02H' were to be executed, the jump would be to 1102H and address 30H would contain the value 2H. |
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 |