Search 8052.com...


User (Email)

Password

Remember Logon

Forgot password?
Create Account


8052.com Online Store
Back to 8052.com Main Page




























Operation:DEC
Function:Decrement Register
Syntax:DEC register

InstructionsOpCodeBytesCyclesFlags
DEC A0x1411None
DEC iram addr0x1521None
DEC @R00x1611None
DEC @R10x1711None
DEC R00x1811None
DEC R10x1911None
DEC R20x1A11None
DEC R30x1B11None
DEC R40x1C11None
DEC R50x1D11None
DEC R60x1E11None
DEC R70x1F11None


Description: DEC decrements the value of register by 1. If the initial value of register is 0, decrementing the value will cause it to reset to 255 (0xFF Hex). Note: The Carry Flag is NOT set when the value "rolls over" from 0 to 255.

See Also: INC, SUBB, Instruction Set


(C) Copyright 1997 - 2008 by Vault Information Services LLC. All Rights Reserved.
Information provided "as-is" without warranty. Please see details.
Contact us for usage and copy permission.