(b) Write and run (using appropriate calling program) a near procedure in 8086
assembly language that checks if the input parameter has a value zero or not. If
the value is zero subroutines terminates the program else returns a value 1 in AL
register.
(c) Write and run an 8086 assembly language program that finds the sum of odd placed values out of 10 consecutive byte values stored in an array in the memory. For example, if 10 consecutive byte values (in hexadecimal) are - 12, AA, 13, AB, 14, AC, 15, AD, 16, AF, then this program should add only value 12, 13, 14, 15 and 16.
(c) Write and run an 8086 assembly language program that finds the sum of odd placed values out of 10 consecutive byte values stored in an array in the memory. For example, if 10 consecutive byte values (in hexadecimal) are - 12, AA, 13, AB, 14, AC, 15, AD, 16, AF, then this program should add only value 12, 13, 14, 15 and 16.
0 टिप्पणियाँ:
Post a Comment