This preview shows page 1. Sign up to view the full content.
Unformatted text preview: x 3100 as it is
s uppos ed to. W hy does it happen? Volodymyr Kindratenko says: Nov 13 Chec k firs t rec ord in numbers .obj - what does it have in it? Michal Truszkow ski says: Nov 13 what k ind of rec ord? It s imply lis ts all 10 numbers in hex adec imal and the loc ation of the array is x 3132. Volodymyr Kindratenko says: Nov 13 Right. If y ou load it, PC is s et to x 3132. Michal Truszkow ski says: Nov 13 for s ome reas on I forgot to ty pe " file lab12.obj" after "file numbers .obj" whic h res ulted in PC
s tarting from x 3132. The c ode is alright now. Gregory Linkow ski says: Nov 14 Does our program need to be able to c ompens ate for overflow, or will our numbers be s afely within range? Speak ing
of, I'm as s uming the max imum value the LC-3 c an handle is 2's c omplement 16-bit. W ould that be c orrec t? Volodymyr Kindratenko says: Do not worry about overflow. Yes . Nov 14 Nov 16
Arnav Chevula says: W hen y ou s imulate the numbers file, and s tep through that, is there s uppos ed to be an illegal...
View Full Document
This document was uploaded on 03/22/2014.
- Fall '14