up: microprocessors - MC6800/MC6802 - instruction set - jump and branch  
m6800/m6802 instruction set
Branch if Greater Than to Zero
What links here?
Branch if Greater Than to Zero
MemonicMode OpcodeCyclesBytes
BGT Relative 2E 4 2


Branch Test
Z or (N xor V) == 0

^ Z ^ N ^ V ^ Result ^ |  0  |  0  |  0  | 1 | | 0 | 0 | 1 | 0 | | 0 | 1 | 0 | 0 | | 0 | 1 | 1 | 1 | | 1 | 0 | 0 | 0 | | 1 | 0 | 1 | 0 | | 1 | 1 | 0 | 0 | | 1 | 1 | 1 | 1 |

Opposite
microprocessors - MC6800/MC6802 - instruction set - Branch if Less than or equal


condition code register
MC6802 - instruction set - Branch if Greater Than to Zero
MC6802 - instruction set - clear accumulator
MC6802 - instruction set - Subtract Accumulators
MC6802 - instruction set - Compare Accumulators
programming:microchip pics:pic_labx_20_pushbuttons
programming:microchip pics:pic references
MC6802 - instruction set - set carry flag
filename:microprocessors - MC6800/MC6802 - instruction set - Branch if Greater Than to Zero
filename:microprocessors%20%2D%20MC6800%2FMC6802%20%2D%20instruction%20set%20%2D%20Branch%20if%20Greater%20Than%20to%20Zero
last edit:June 22 2012 14:56:04 (4806 days ago)
ct = 1755698205.000000 = August 20 2025 09:56:45
ft = 1340391364.000000 = June 22 2012 14:56:04
dt = 415306841.000000