In this problem you will write a lc-3 assembly code that


Problem

In this problem, you will write a LC-3 assembly code that removes blank spaces from a string. Assume that the string starts at memory location 0x5000, and is terminated by a ‘\0' character (ASCII value = 0). Your program should store the modified string in the memory location starting at 0x5100. You do not need to modify the original string stored at 0x5000. You can assume that the original string at 0x5000 will always be less than 100 characters in length, and it will always start with a letter (A-Z, lowercase or uppercase possible).Note: If the modified string has 7 characters, and the original string has 15 characters, the last 8 characters of your modified string should be all ‘%' (ASCII value = 0x25).For example: If the original string at 0x5000 was "aa 12 d e f", the modified string at 0x5100 after your program completes execution should be "aa12def%%%%". Note that the original string has 4 blank space characters, and the modified string has 4 extra "%" in the end. Your code should start at memory location 0x3000.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: In this problem you will write a lc-3 assembly code that
Reference No:- TGS02728411

Expected delivery within 24 Hours