Largest of Two Numbers

Aim:

To implement a program that finds the largest among any given two numbers. 

 

Instructions:

The program to find the largest number of any given two number and their equivalent low-level instructions executed by the hardware. The low-level instructions used are: 

if _false          Checks if the condition evaluated to be false. 
if_true Checks if the condition evaluated to true. 
in It reads the input from the user and stores it in a variable. 
label Is used to mark the position in the low-level instructions to enable jumping to the marked position. 
load It loads a value of a global or local variable to the given register. 
gt Greater than operator, checks whether the first operand is greater than second operand and return a boolean value based on the condition. 
out It prints the output value to the screen. 
exit Exit from the execution.