2012-09-15, 04:02 PM
Just got the components of my chair. I'm now assembling it. I imagine I have about 3 - 5 hours more work until I'm fully moved in for the time being. Now I'll just have to wait for a little more than a week for my desk. 
First week of the job went about as expected. I coded memmove in about 20 lines of assembly.
If anyone is wondering, coding the above is just one part of training for my job.

First week of the job went about as expected. I coded memmove in about 20 lines of assembly.
Code:
BEGIN:
push ecx
push edi
push esi
mov esi, [esp+4] //str1
mov edi, [esp+8] //str2
mov ecx, [esp+12] //len
cmp esi, edi
jg NONOVERLAP
OVERLAP:
add esi, ecx
add edi, ecx
std
rep movsb
jmp END
NONOVERLAP:
cld
rep movsb
END:
pop esi
pop edi
pop ecx
retn 12If anyone is wondering, coding the above is just one part of training for my job.
