Question: LC - 3 Assembly Programming: The beginning of the end Overview Recall lab 1 2 where you were tasked with printing a single character. In

LC-3 Assembly Programming: The beginning of the end
Overview
Recall lab 12 where you were tasked with printing a single character. In this lab, you are tasked with printing a string.
Specification
- The program must start at x3000
- The program will accept an unknown number of ASCII characters, in the following order: (we guarantee all characters will be valid)
i. The character to print for bit 0
ii. The character to print for bit 1
iii. The string whose pixel map to print
- The string will be terminated by an LF character
or 0xA
- You can type this character by simply pressing enter
- We guarantee the string will be at most 10 characters long, including the LF character
- You SHOULD NOT draw the LF character itself
- The program must use GETC to get the characters instead of IN
- The inclusion of the string "IN" anywhere within lab13.asm will result in an immediate 0
- The program will need to access the font data, provided in font_data.asm
- Do not edit this file
- For grading, we will replace this file with an exact same copy
From lab 12:
- For printing newline characters, use xA for LF. Do not use xD.
- There must be exactly 16 LFs (including one on the last line!)
- Print only the pixel map of the string that was input. Do not echo any prompts or anything else to the user. Example
```
What should be printed for ".@Pipeline"
```
```
.@@..@@.. @@@..@@@.@@@...@@@@@.....@@.....@@@ ..@@.@@@...@@@@@..
```
```
.@@.......@@...@@@..@@.@@@@@@@....@@.....@@....@@..@@.@@@@@@@.
.@@.......@@...@@@. @@.@@........@@..... @@@...@@..@@.@@......
```
```
.............................................................................
```
Reminder
Avoid The Four Deadly Sins of LC-3:
\(\square \) NEVER assume the value of a register before you set it
\(\square \) NEVER assume the value at an unspecified memory address
- NEVER change the .ORIG location of your program
- NEVER forget to halt and make sure that you are halting correctly using the correct TRAP vector
LC - 3 Assembly Programming: The beginning of the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!