|
-
Apr 29th, 2003, 10:34 AM
#1
Thread Starter
New Member
Primitive CPU instructions
Primitive CPU Instructions
I am taking a computer architecture class in college. My graduation is pending that I pass this class. I have to develop a program consisting of primitive CPU instructions, such as NOT, AND, OR, XOR, ADD and shift.
My problem is that I don't understand what the procedure is asking to do. If I could just put the logic in plain words then Maybe I can develop the couple of lines of instructions to implement the procedure.....
integer i, a;
i = 0;
While (i<10) do
a = i*2;
i = i +1;
endwhile
Any help would be greatly appreciated, or any information on how I can obtain an understanding of the procedure as well
I am a desperate individual......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|