Forum: Assembly Sep 25th, 2009 |
| Replies: 4 Views: 450 For some reason my code still doesn't work.
Here's the C++ code I'm trying to convert, it's a version of shell sorting algorithm.
; while ( h>0 )
; {
; for (i = h-1; i < length; i++)
; {... |
Forum: Assembly Sep 21st, 2009 |
| Replies: 4 Views: 450 Thank you.
I appreciate you leading me to right direction. |
Forum: Assembly Sep 21st, 2009 |
| Replies: 4 Views: 450 I am trying to convert this for loop in C++ to ASM:
for(x=y; (x>=y) && (array[x-z]>temp); x=x-z)
{
array[x] = array[x-z];
}
This is what I have so far: |
Forum: Assembly Jun 30th, 2009 |
| Replies: 1 Views: 961 I am converting an MASM procedure to MIPS.
Here's the MASM:
; --------------------------------------------------------
; Find basic list stats - minimum, median, and maximum.
; Arguments... |
Forum: Assembly Jun 30th, 2009 |
| Replies: 4 Views: 762 Thanks all! Working on that part of my program now. |
Forum: Assembly Jun 29th, 2009 |
| Replies: 4 Views: 762 I have written a code that prints array in 6 columns:
# -----
# Print array elements.
li $t1, 0
la $s0, py_sars
print_lp1: |