| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
SX20AC75 bảng dữ liệu(PDF) 35 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
SX20AC75 bảng dữ liệu(HTML) 35 Page - List of Unclassifed Manufacturers |
|
35 / 52 page ![]() © 2000 Scenix Semiconductor, Inc. All rights reserved. - 35 - www.scenix.com SX18AC/SX20AC/SX28AC/SX18AC75/SX20AC75/SX28AC75 16.0 INSTRUCTION SET SUMMARY TABLE Table 16-1 lists all of the instructions, organized by cate- gory. For each instruction, the table shows the instruction mnemonic (as written in assembly language), a brief description of what the instruction does, the number of instruction cycles required for execution, the binary opcode, and the status bits affected by the instruction. The “Cycles” column typically shows a value of 1, which means that the overall throughput for the instruction is one per clock cycle. In some cases, the exact number of cycles depends on the outcome of the instruction (such as the test-and-skip instructions) or the clocking mode (Compatible or Turbo). In those cases, all possible num- bers of cycles are shown in the table. The instruction execution time is derived by dividing the oscillator frequency by either one (Turbo mode) or four (Compatible mode). The divide-by factor is selected through the FUSE Word register. Table 16-1. The SX Instruction Set Mnemonic, Operands Description Cycles (Compatible) Cycles (Turbo) Opcode Bits Affected Logical Operations AND fr, W AND of fr and W into fr (fr = fr & W) 11 0001 011f ffff Z AND W, fr AND of W and fr into W (W = W & fr) 11 0001 010f ffff Z AND W,#lit AND of W and Literal into W (W = W & lit) 11 1110 kkkk kkkk Z NOT fr Complement of fr into fr (fr = fr ^ FFh) 11 0010 011f ffff Z OR fr,W OR of fr and W into fr (fr = fr | W) 11 0001 001f ffff Z OR W,fr OR of W and fr into fr (W = W | fr) 11 0001 000f ffff Z OR W,#lit OR of W and Literal into W (W = W | lit) 11 1101 kkkk kkkk Z XOR fr,W XOR of fr and W into fr (fr = fr ^ W) 11 0001 101f ffff Z XOR W,fr XOR of W and fr into W (W = W ^ fr) 11 0001 100f ffff Z XOR W,#lit XOR of W and Literal into W (W = W ^ lit) 11 1111 kkkk kkkk Z Arithmetic and Shift Operations ADD fr,W Add W to fr (fr = fr + W); carry bit is added if CF bit in FUSEX register is cleared to 0 11 0001 111f ffff C, DC, Z ADD W,fr Add fr to W (W = W + fr); carry bit is added if CF bit in FUSEX register is cleared to 0 11 0001 110f ffff C, DC, Z CLR fr Clear fr (fr = 0) 11 0000 011f ffff Z CLR W Clear W (W = 0) 11 0000 0100 0000 Z CLR !WDT Clear Watchdog Timer, clear prescaler if as- signed to the Watchdog (TO = 1, PD = 1) 11 0000 0000 0100 TO, PD DEC fr Decrement fr (fr = fr - 1) 11 0000 111f ffff Z DECSZ fr Decrement fr and Skip if Zero (fr = fr - 1 and skip next instruction if result is zero) 1 or 2 (skip) 1 or 2 (skip) 0010 111f ffff none INC fr Increment fr (fr = fr + 1) 11 0010 101f ffff Z INCSZ fr Increment fr and Skip if Zero (fr = fr + 1 and skip next instruction if result is zero) 1 or 2 (skip) 1 or 2 (skip) 0011 111f ffff none RL fr Rotate fr Left through Carry (fr = << fr) 11 0011 011f ffff C RR fr Rotate fr Right through Carry (fr = >> fr) 11 0011 001f ffff C SUB fr,W Subtract W from fr (fr = fr - W); complement of the carry bit is subtracted if CF bit in FUSEX register is cleared to 0 11 0000 101f ffff C, DC, Z SWAP fr Swap High/Low Nibbles of fr (fr = <> fr) 11 0011 101f ffff none |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |