// Copyright (c) 2026 Petr Balvín (https://petrbalvin.org) // SPDX-License-Identifier: BSD-3-Clause #include "textflag.h" // branch exercises all conditional branch forms and jump chain folding. TEXT ·branch(SB), NOSPLIT, $0-0 BEQ done BNE skip BGE done BLT done BGT done BLE done BCS done BCC done BMI done BPL done BVS done BVC done BHI done BLS done skip: B loop loop: ADD R4, R5 done: RET