I am asked to write a program in LC-3 assembly language that takes a 16-bit (2 byte) word stored at memory location x3100. It uses this as the number of words to search starting at address x3200 while summing the total number of 1’s in all the words. In the end, you will store the number of 1’s as a 16-bit word at address x3101.
Comments
Leave a comment