Experiment #6
Logical & Bitwise Instructions
& Jump Instructions
Objective
Logical Instructions in Assembly.
Shift and Rotate Instructions
Jump instructions
Comparison instructions.
Lab Work:
Write a program that reads a binary number of arbitrary length ( less than 16-bit) and displays its value in Hexadecimal, you must use shift rotate and compare instructions.
Ex.
INPUT:
10011010
OUTPUT:
9A