參數(shù)資料
型號: ST52E430B/D
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, UVPROM, 20 MHz, MICROCONTROLLER, CDIP32
封裝: WINDOWED, SHRINK, CERAMIC, DIP-32
文件頁數(shù): 9/120頁
文件大?。?/td> 502K
代理商: ST52E430B/D
106/120
ST52T430/E430
SUBO
Subtraction with Offset
Format:
subo dst, src
Operation:
dst dst + 128 - src
Description: The value 128 is added to the content of the RAM location specified as destination, then
the content of source location is subtracted to the result and stored into the destination
location. This operation allows the use of the signed byte considering the values be-
tween 0 and 127 as negative, 128 as 0, and the values between 129 and 255 as posi-
tive.
Flags:
Z
sets if result is zero, cleared otherwise.
C
sets if overflow, cleared otherwise.
S
sets if underflow, cleared otherwise.
Bytes:
3
Cycles:
20
Example:
if the RAM location 20 contains the value 45 and the RAM location 11 contains the value
65, then the instruction
subo 20, 11 00101000
00010100
00001011
causes the location 20 of the RAM to be loaded with the value 108.
If the location 20 contains the value 200 and the location 11 contains the value 20, the
instruction causes the location 20 to be loaded with the value 52 (result-256) and the C
flag to be set.If the location 20 contains the value 20 and the location 11 contains the
value 200, the instruction causes the location 20 to be loaded with the value 204
(256+result) and the S flag to be set.
相關(guān)PDF資料
PDF描述
ST52F510F1M6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDSO20
ST52F510G0B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
ST52F513F0M6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDSO20
ST52F513F1B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP20
ST52F513G1M6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDSO28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST52E430K1B6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Three Timer/PWMs, ADC, SCI
ST52E430K1M6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Three Timer/PWMs, ADC, SCI
ST52E430K1T6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Three Timer/PWMs, ADC, SCI
ST52E430K2B6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Three Timer/PWMs, ADC, SCI
ST52E430K2M6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Three Timer/PWMs, ADC, SCI