| Electronic Components Datasheet Search |
|
SM5M2 Datasheet(PDF) 7 Page - Sharp Corporation |
|
|
|||||||||||||||||||||||||||||
SM5M2 Datasheet(HTML) 7 Page - Sharp Corporation |
|
7 / 28 page ![]() SM5M2 - 7 - SYSTEM CONFIGURATION A Resister and X Register The A register (or accumulator : ACC) is a 4-bit general purpose register. The register is mainly used in conjunction with the ALU, C flag and RAM to transfer numerical value and data to perform various operations. The A register is also used to transfer data between input and output pins. The X register (or auxiliary accumulator) is a 4-bit register and can be used as a temporary register. It loads contents of the A register or its content is transferred to the A register. When the table reference instruction PAT is used, the X and A registers load ROM data. A pair of A and X registers can accommodate 8-bit data. 7 3 0 0 03 EX instruction (swap) SB register BM register B register BL register 3 3 0 0 A register X register EXAX instruction c Areg ALU Result of operation 4-bit data 4-bit data Fig. 1 Data Transfer Example Between A Register and X Register Arithmetic and Logic Unit (ALU) and Carry Signal Cy The ALU performs 4-bit parallel operation. B Register and SB Register • B register (BM, BL) The B register is an 8-bit register that is used to specify the RAM address. The upper 4-bit section is called BM register and lower 4-bit BL. • SB register The SB register is an 8-bit register used as the save register for the B register. The contents of B register and SB register can be exchanged through EX instruction. Fig. 3 B Register and SB Register Fig. 2 ALU The ALU operates binary addition in conjunction with RAM, C flag and A register. The carry signal Cy is generated if a carry occurs during ALU operation. Some instructions use Cy : ADC instruction sets/clears the content of the C flag; ADX instruction causes the program to skip the next instruction. Note that Cy is the symbol for carry signal and not for C flag. |
|
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 |