Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Assembly Help
Name: hrn1984 Date: May 25, 2007 at 12:35:57 Pacific OS: xp CPU/Ram: 4gb Product: dell
Comment:
I've spent hours trying to figure this out, please help...
j : = 1 WHILE j 1000 BEGIN k := 1 WHILE k 10 BEGIN a(100*j + 4(k -1)) := j + k k := k + 1 END j := j + 1 END
The above pseudo-language program will create a table of values containing #____ rows and # _____ columns
Name: Razor2.3 Date: May 25, 2007 at 19:30:27 Pacific
Reply:
I'd say 1000 rows and 10 columns, but it's not concurrent.
Assuming the 4 refers to bytes and the values are stored as 32 bit numbers, there are 60 unused bytes between rows, and each row only takes up 40 bytes.
0
Response Number 2
Name: hrn1984 Date: June 4, 2007 at 08:33:42 Pacific
Summary: I have to write a program for my entry level assembly programming class. Our previous assignment was to create a 2-D array and calculate the sum of the digits. for my next program it is basically a br...
Summary: Hi Sord, Thank you for your help! Well, the thing is I am trying to work on simple projects of assembly so that I get expert on instructions and their uses so that later when I needed to work on bigge...
Summary: G'day, This may not be the best forum for 8051 assembler help. Try a site such as 8052.com; they are using it all the time. However, to answer your question: you would need to use a conditional jump i...