Assignment Set 2 (Assembly Language Programming) Solution




Problem 1:


Generate arithmetic series and write content in contiguous memory locations where data a, d, n are stored as variables.


Problem 2:


Find factorial of 8-bit number.


Problem 3:


Find number which appears only once in array stored in memory and rest numbers are in pairs


Ex.: 01H, 02H, 03H, 02H, 03H should give output 01H


Problem 4:


Reverse 16-bit number using 8-bit operations.


(You can manipulate only 8 bits at a time)

error: Content is protected !!