| Electronic Components Datasheet Search |
|
SEC1210 Datasheet(PDF) 28 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC1210 Datasheet(HTML) 28 Page - Microchip Technology |
|
28 / 218 page ![]() SEC1110/SEC1210 DS00001561C-page 28 2013 - 2016 Microchip Technology Inc. 9.1.2 B REGISTER – B 9.1.3 PROGRAM STATUS WORD REGISTER – PSW The PSW Register contains status bits that reflect the current state of the CPU. The state of the rs1 and rs0 bits selects the working register bank as outlined in Table 9-5. TABLE 9-3: B REGISTER B (SFR 0XF0 - RESET=0X00) B BIT NAME R/W DESCRIPTION 7:0 B R/W Used during multiplying and division instructions. It can also be used as a scratch-pad register to hold temporary data. Note: The parity bit can only be modified by hardware by the state of ACC Register. TABLE 9-4: PROGRAM STATUS WORD REGISTER PSW (SFR 0XD0 - RESET=0X00) STACK POINTER BIT NAME R/W DESCRIPTION 7 cy R/W Carry flag: The carry bit in arithmetic operations and the accumulator for Boolean operations. 6 ac R/W Auxiliary Carry Flag: Set if there is a carry-out from 3rd bit of the accumulator in BCD operations. 5 f0 R/W General Purpose Flag 0: Available for general use. 4 rs1 R/W Register Bank Select Control Bit 1: Used to select the working register bank. 3 rs0 R/W Register Bank Select Control Bit 0: Used to select the working register bank. 2 ov R/W Overflow Flag: Set in case of overflow in accumulator during arithmetic operations. 1 f1 R/W General Purpose Flag 1: Available for general use. 0 p R Parity Flag: Reflects the number of 1s in the accumulator. 1 : If the accumulator contains an odd number of 1s 0 : If the accumulator contains an even number of 1s TABLE 9-5: REGISTER BANK LOCATIONS rs1 rs0 SELECTED REGISTER BANK LOCATION 0 0 Bank 0 (00H – 07H) 0 1 Bank 1 (08H – 0FH) 1 0 Bank 2 (10H – 17H) 1 1 Bank 3 (18H – 1FH) |
|
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 |