Professional Documents
Culture Documents
MP MC Da02
MP MC Da02
\
Q2.) Verify an assembly program to find the largest number from the array of
bytes. Here, Number of bytes are user defined.
OUTPUT:
Q3.) Verify an assembly program to find a square of a given number (0-9) given
in RAM memory loca on. Use look up table to find the square of a given
number
OUTPUT:
Q4.) . Observe the following, no ng the role of the overflow (OV) Flag .
MOV A , #-128; MOV R4, # -2; ADD A, R4
OUTPUT:
Q5.) Write an assembly program to blink LEDs connected on Port2. Assume
Crystal Frequency 12 MHZ and generate blinking delay for 0.5 sec using looping
method.
OUTPUT: