05/06/08 16:07
gantonio
Ok ... ok ... quindi qualcosa del genere dovrebbe andare ...
int r, c, ix, iy; int cfat, rfat; _asm { mov ebx,livello lea esi,triangolo mov r,0 jmp lb727 lb71a: inc r lb727: cmp r,ebx jg lb843 mov c,0 jmp lb74d lb740: inc c lb74d: mov eax,c cmp eax,r jg lb82f mov cfat,1 mov rfat,1 mov ix,1 jmp lb78b lb77e: inc ix lb78b: mov eax,ix cmp eax,c jg lb7ab mov eax,cfat imul eax,ix mov cfat,eax jmp lb77e lb7ab: mov eax,r mov iy,eax mov ix,1 jmp lb7ce lb7c1: inc ix lb7ce: mov eax,ix cmp eax,c jg lb7fb mov eax,rfat imul eax,iy mov rfat,eax dec iy jmp lb7c1 lb7fb: mov eax,rfat cdq idiv cfat mov [esi],eax add esi,4 jmp lb740 lb82f: jmp lb71a lb843: }
aaa