[Cs35101] Project 1 - designating an array and copying characters, updated prompt.asm code
Dianne Foreback
dforebac at kent.edu
Sat Oct 10 10:06:28 EDT 2015
Hello Computer Architecture Class:
A question is asked how are we "supposed to store a character into an
array, or how we designate something as an array"? Please look at the
"Fibonacci.asm" code to see how an array (of words) is allocated. If you
are using characters you will change to words to bytes.
To see "how to store that character into another array" look at the strcpy
code in the book. You may assume that the user is always entering 10
characters (not including the \n\0). There is no need to initialize the
arrays.
Also, I updated the prompt.asm code on the site.
Best,
Dianne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://listmail.cs.kent.edu/pipermail/cs35101/attachments/20151010/33f23456/attachment.html
More information about the CS35101
mailing list