Experiment #6

Logical & Bitwise Instructions & Jump Instructions

  • Objective
  1. Logical Instructions in Assembly.
  2. Shift and Rotate Instructions
  3. Jump instructions
  4. Comparison instructions.
 

 

  • Lab Work:
  1. 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