[Cs35101] code in book page 135 incorrect

Dianne Foreback dforebac at kent.edu
Tue Oct 18 12:47:32 EDT 2016


Hello Computer Architecture Class:

Per our lecture today, the code in the book on page 135 for the sort
function is incorrect.  In the second for loop, j should be decremented by
one (not incremented by one).  The slides on our website for Section 2.13
and the assembly code in the bubblesort.asm file are correct.

Best,
Dianne
_______________________________________________
Dr. Dianne Foreback, Assistant Professor
Department of Computer Science
Math and Computer Science Building (MSB) 266
P.O. Box 5190, Kent, Ohio 44242-0001, USA
Phone: 330.672.9064
Email: dforebac at kent.edu
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://listmail.cs.kent.edu/pipermail/cs35101/attachments/20161018/095d33d8/attachment.html 


More information about the CS35101 mailing list