參數(shù)資料
型號(hào): ST52502LF2
英文描述: MAX 3000A CPLD 256 MC 144-TQFP
中文描述: 8位紅外驅(qū)動(dòng)重癥監(jiān)護(hù)病房。定時(shí)器/脈寬調(diào)制。 I2C總線。的SPI。脊髓損傷。低電壓
文件頁數(shù): 27/106頁
文件大?。?/td> 1355K
代理商: ST52502LF2
Each interrupt level has its own set of flags, which
is saved in the Flag Stack during interrupt
servicing. These flags are restored from the Flag
Stack automatically when a RETI instruction is
executed.
If the ICU was in normal mode before an interrupt,
after the RETI instruction is executed, the normal
flags are restored.
Note: A subroutine CALL is a normal mode
execution. For this reason a RET instruction,
consequent to a CALL instruction, doesn’t affect
the normal mode set of flags.
Flags are not cleared during context switching and
remain in the state they were in at the exit of the
last interrupt routine switching.
The Carry flag is set when an overflow occurs
during arithmetic operations, otherwise it
is
cleared.The Sign flag is set when an underflow
occurs during arithmetic operations, otherwise it is
cleared.
The flags, related to the current context, can be
checked by reading the FLAGS Input Register 38
(026h).
Figure 3.3 Multiplication
3.2 Arithmetic Logic Unit
The 8-bit Arithmetic Logic Unit (ALU) performs
arithmetic calculations and logic instructions such
as: sum, subtraction, bitwise AND, OR, XOR, bit
set and reset, bit test and branch, right/left shift and
rotate (see the Chapter 9 Instruction Set for further
details).
In addition, the ALU of ST52F501L/F502L can
perform multiplication (MULT) and division (DIV).
Multiplication is performed by using 8 bit operands
storing the result in 2 registers (16 bit values); the
division instruction addresses the MSB of the
dividend (the LSB is stored in the next address):
the result and remainder are stored in these source
addresses (see Figure 3.3 and Figure 3.4).
In order to manage signed type values, the ALU
also performs addition and subtraction with offset
(ADDO
and
SUBO).
These
instructions
respectively subtract and add 128 to the overall
result, in order to manage values logically in the
range between -128,127.
Figure 3.4 Division
RAM
000h
001h
002h
i
j+1
j-1
j
0FFh
0FDh
0FEh
REG. j
REG. i
LSB
MSB
X
16 Bit
RAM
i
j+1
j-1
j
REG. j
REG. j+1
REMAINDER
QUOTIENT
REG. i
:
i-1
i+1
000h
001h
002h
0FFh
0FDh
0FEh
相關(guān)PDF資料
PDF描述
ST52502LF3 MAX 3000A CPLD 512 MC 256-FBGA
ST52513F3 MAX 7000 CPLD 128 MC 144-TQFP
ST52513G2 MAX 7000 CPLD 512 MC 256-BGA
ST52513G3 MAX 7000 CPLD 512 MC 256-FBGA
ST52513K2 MAX 3000A CPLD 32 MC 44-PLCC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST52502LF3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52502LG1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52502LG2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52502LG3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52502LK1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE