Lec41 - Computer Programming I TA C162. Today's Agenda LC3...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Computer Programming I TA C162 . 28 Apr 2007 Today’s Agenda LC-3 Assembly Programming Review Test #2 Q.2 Solution Discussion Course Summary
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Computer Programming I TA C162 . 28 Apr 2007 LC-3 Programming: Review What are important things? Instruction Set Architecture Data Types Addressing Modes Data Path
Background image of page 2
3 Computer Programming I TA C162 . 28 Apr 2007 Test#2:  Question 2 The following LC-3 assembly program is taking string of  characters as an input from the keyboard and storing them in  the memory starting from the location x4000. The input is  terminated by typing new-line character (Ascii value x0A). The  register R5 is used for counting the number of words. This  program is counting the number of words in the input string.  Assume that the characters separated by blank space (Ascii  value x20) are considered as words. Finally program displays 
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/07/2010 for the course CS&IS TA C162 taught by Professor Kavitha during the Spring '09 term at Birla Institute of Technology & Science.

Page1 / 8

Lec41 - Computer Programming I TA C162. Today's Agenda LC3...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online