| поискавой системы для электроныых деталей |
|
SZF2002 датащи(PDF) 16 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
SZF2002 датащи(HTML) 16 Page - NXP Semiconductors |
|
16 / 76 page ![]() 1998 Aug 26 16 Philips Semiconductors Product specification Low voltage 8-bit microcontroller with 6-kbyte embedded RAM SZF2002 10 PROGRAM STATUS WORD (PSW) The Program Status Word contains several status bits that reflect the current state of the CPU. The PSW, shown in Table 4, resides in the SFR memory space. It contains the Carry bit, the Auxiliary Carry (for BCD operations), the two register bank select bits, the Overflow flag, a Parity bit and two user-definable status flags. The Carry bit, other than serving the function of a Carry bit in arithmetic operations, also serves as the Accumulator for a number of boolean operations. Bits RS0 and RS1 are used to select one of the four register banks; see Table 5. A number of instructions refer to these RAM locations as R0 through to R7. The selection of which of the four register banks is being referred to is made on the basis of the state of RS0 and RS1 at execution time. The Parity bit reflects the number of 1s in the Accumulator: P = 1, if the Accumulator contains an odd number of 1s, and P = 0, if the Accumulator contains an even number of 1s. Thus, the number of 1s in the Accumulator plus P is always even. The bits F0 and USR are uncommitted and may be used as general purpose status flags. Table 4 Program Status Word (SFR address D0H) Table 5 Description of PSW bits 76543210 CY AC F0 RS1 RS0 OV USR P BIT SYMBOL DESCRIPTION 7CY Carry flag. The Carry flag receives carry out from bit 7 of ALU operands. 6AC Auxiliary Carry flag. The Auxiliary Carry flag receives carry out from bit 3 of addition operands. 5F0 General purpose status flag. 4 RS1 Register Bank Select 1. This bit selects Register Bank 1. 3 RS0 Register Bank Select 0. This bit selects Register Bank 0. 2OV Overflow flag. This flag is set by arithmetic operations. 1 USR USR. This is a user-definable flag. 0P Parity. If the Accumulator contains an odd number of 1s this bit is set to a logic 1 by hardware. Otherwise, the state of this bit is a logic 0. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |