
Compare and Branch With CLC, CLI and BRC in HLASM
Compare character fields with CLC and CLI, read the condition code, and branch with BC, BRC and the extended mnemonics like BE, JNE and JL in HLASM programs.
Tag
8 posts

Compare character fields with CLC and CLI, read the condition code, and branch with BC, BRC and the extended mnemonics like BE, JNE and JL in HLASM programs.

Learn the HLASM instructions that move data between registers and storage, L, ST, LR, LA, STM and LM, with a traced example showing every register value.

Write assembler programs that call and return the standard z/OS way, with registers on entry, an 18-word save area chain and a return code in register 15.

Understand why HLASM needs a base register, how USING and DROP tell the assembler which register addresses which storage, and how to fix ASMA307E errors.

Learn the z/Architecture registers, the program status word and the main instruction formats, with a hand-decoded example of how an HLASM line becomes bytes.

Write a minimal High Level Assembler program that prints a console message, then assemble it with ASMA90, link-edit it with the binder and run it as a job step.

Dispatch on a function code in HLASM with a branch table: range-check and scale the index, then branch through B instructions or an address table.

Learn IBM High Level Assembler on z/OS end to end: source format, registers, linkage, data, I/O, macros, DSECTs, dumps and modern instructions.