; UNCOL example program - Simple arithmetic computation
; This demonstrates basic UNCOL-style intermediate representation
; Computing: result = (a + b) * c

LOAD R1, A      ; Load variable A into register R1
LOAD R2, B      ; Load variable B into register R2
ADD R3, R1, R2  ; Add R1 and R2, store in R3
LOAD R4, C      ; Load variable C into register R4
MUL R5, R3, R4  ; Multiply R3 and R4, store in R5
STORE RESULT, R5 ; Store R5 into variable RESULT
HALT            ; End program
