small rectangle

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

small rectangle

ammarr
hi

i got every thing right Memory.hdl, CPU.hdl & computer.hdl

and all tst scripts passed Add, Max and rectangle successfully

and i got the message "Comparison Ended successfully"

But i get a small rectangle, even though both the output and the comparison are the same..

What could be the problem, below is the image

Small Rect

thanks
Reply | Threaded
Open this post in threaded view
|

Re: small rectangle

cadet1620
Administrator
That's what ComputerRect.tst is supposed to do; draw a small rectangle.

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: small rectangle

ammarr
Thanks

i thought the length was suppose to be 50, according to the screen shot in the project 5 page

i just re read the page and noticed RAM[0], which in my case is 4

cadet1620 wrote
The Rect program illustrated above draws a rectangle of width 16 pixels and length RAM[0] at the top-left of the screen.