| Electronic Components Datasheet Search |
|
HCS12 Datasheet(PDF) 74 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 Datasheet(HTML) 74 Page - Freescale Semiconductor, Inc |
|
74 / 452 page ![]() S12CPUV2 Reference Manual, Rev. 4.0 74 Freescale Semiconductor 5.19.1 Short Branch Instructions Short branch instructions operate this way: When a specified condition is met, a signed 8-bit offset is added to the value in the program counter. Program execution continues at the new address. The numeric range of short branch offset values is $80 (–128) to $7F (127) from the address of the next memory location after the offset value. Table 5-17 is a summary of the short branch instructions. Table 5-17. Short Branch Instructions Mnemonic Function Equation or Operation Unary Branches BRA Branch always 1 = 1 BRN Branch never 1 = 0 Simple Branches BCC Branch if carry clear C = 0 BCS Branch if carry set C = 1 BEQ Branch if equal Z = 1 BMI Branch if minus N = 1 BNE Branch if not equal Z = 0 BPL Branch if plus N = 0 BVC Branch if overflow clear V = 0 BVS Branch if overflow set V = 1 Unsigned Branches Relation BHI Branch if higher R > MC + Z = 0 BHS Branch if higher or same R ≥ MC = 0 BLO Branch if lower R < MC = 1 BLS Branch if lower or same R ≤ MC + Z = 1 Signed Branches BGE Branch if greater than or equal R ≥ MN ⊕ V = 0 BGT Branch if greater than R > MZ + (N ⊕ V) = 0 BLE Branch if less than or equal R ≤ MZ + (N ⊕ V) = 1 BLT Branch if less than R < MN ⊕ V = 1 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |