my goal is to set a register to the maximum of two registers. Register C should hold the max number of A and B using VMAL programming/ assembly language
# The C register should hold the maximum of A and B
A: 5; # Initialize the A register to 5
B: 7; # Initialize the B register to 7
C: 0; # Initialize the C register to 0 - DO NOT CHANGE
# Goal: C = MAX(A, B) in VMAL programming/assembly language
# Examples: If A = 3 and B = 4, then C = 4
# If A = 2 and B = -3, then C = 2
# If A = 5 and B = 5, then C = 5
# IF statements in VMAL:
# if (A == 0) {
#
# }
#
# then the resulting VMAL would look something as follows:
#
# SF A;
# BIZ IF_START_1;
# GO IF_END_1;
# LBL IF_START_1;
# // STUFF (translated to VMAL)
# LBL IF_END_1;
#