IBM EM78M611E manual 2.4 R3 Status Register Default Value0B00011XXX, R3 0 Carry/Borrow Flag, Bit

Page 15

EM78M611E

Universal Serial Bus Series Microcontroller

A12 A11 A10

A9 A8

A7~A0

0000

Page 0

03FF

0400

Page 1

07FF

0800

Page 2

0BFF

1000

Page 0

13FF

1400

Page 0

17FF

Call

 

Interrupt

 

 

Stack 1

RET

Stack 2

RETL

 

Stack 3

RETI

 

Stack 4

 

 

 

 

Stack 5

 

Stack 6

 

Stack 7

 

 

 

Stack 8

 

 

0000 : Reset Vector

0001 : Interrupt Vector

8.2.2.4R3 (Status Register) Default Value:(0B_0001_1XXX)

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

PS2

PS1

PS0

T

P

Z

DC

C

R3 [0] Carry/Borrow Flag

0 = No carry-out from the result’s Most Significant bit

1 = A carry-out from the result’s Most Significant bit occurred

NOTE

For Borrow, the polarity is reversed. For rotate (RRC, RLC) instructions, this bit is loaded with either high or low-order bit of the source register.

R3 [1] Auxiliary Carry/Borrow Flag. For ADD, SUB Instructions 0 = No carry-out from the 4th low-order bit of the result

1 = A carry-out from the 4th low-order bit of the result occurred

NOTE

For Borrow, the polarity is reversed.

Product Specification (V1.11) 04.20.2007

11

(This specification is subject to change without further notice)

Image 15
Contents EM78M611E Trademark Acknowledgments 2.1 Appendix Product Specification V1.1Features General DescriptionUniversal Serial Bus Series Microcontroller Product Specification V1.1 Type Definition ApplicationOriginal With Both VNN Pin AssignmentEM78M611EXBP/BM/DM 20-Pin DIP/SOP/SSOP Pin Description Symbol FunctionALU ACC Data & Control BUS Block DiagramProgram Memory Function DescriptionSpecial Purpose Register Data Memory2.2 R1 Timer / Clock Counter Default Value 0B00000000 2.3 R2 Program Counter & Stack Default Value 0B00000000Operation Registers 2.4 R3 Status Register Default Value0B00011XXX R3 0 Carry/Borrow FlagBit Program Memory Page Address Condition2.5 R4 RAM Select Register Default Value 0B00XXXXXX EP0Busy Stall RF Interrupt Status Register Default Value 0B00000000Accumulator Control RegistersTCC Rate WDT Rate Control Register Default Value 0B00111111PS/2 Operation ModeDualFrq.1 DualFrq.0 Frequency Bit P96 P95 P94 P93 P92 P91 P90PH95 PH93 PU8 PU6 PU5 USB Application FIFOs Extra Control RegisterUSB Device Controller USB ApplicationSaving Power Mode ResetInterrupt Dual Clock ModeFunction Description Pattern Detect Application PDASampling Rate and Debounce Length Control RegisterSR.2 SR.1 SR.0 Sampling Rate DB.2 DB.1 DB.0 Debounce TimeR10 PWM1 Duty Cycle Register Erepwm Control Register Default Value 0B00000001Pulse Width Modulation PWM Duty CycleERA AD Channel Select Register Default Value 0B00011111 Analog-To-Digital Converter ADCClock Hz Period/255 s Channel Port ERB AD LSB Data Register Default Value 0B00000000ERC AD MSB Data Register Default Value 0B00000000 ERD AD Control Register Default Value 0B00000000Command Value Action Execution Time Absolute Maximum Ratings DC Electrical CharacteristicSymbol Min Max Unit Symbol Parameter Condition Min Type Max UnitUSB Interface Application Circuit Address Name Bit Bit1 Default Value Special Register MapOperation Registers Extra Register IOCA3 = Address Name Bit Default ValueBinary Instruction Hex Mnemonic Operation Status Affected Instruction SetThis instruction is not recommended for RE, RF operation Code Option Register Address11 16ms Bits 4~12 User ID Address EM78M611E