An instance of pivot computation: Kindly give me your advice, please. And now, let me hear more about the problem of asm expert.

Deviation_ratio PROC USES eax ebx ecx
; assumed that GENERATES deviation ratio VALUES and STORES in an ARRAY.
; RECEIVES: ESI POINTS to the ARRAY, ECX = COUNT
; RETURNS: nothing
;------------------------------------------------------------
mov eax,1 ; initialize fib(1) = 1
mov ebx,0 ; fib(2) WILL = fib(1)+0
L1:
ADD eax,ebx ; GENERATE next NUMBER

CALL WriteDec ; DISPLAY it (debug only)
CALL Crlf
mov [esi],eax ; STORE the VALUE
xchg eax,ebx ; STEP up the sequence
ADD esi,TYPE DWORD
LOOP L1

ret
deviation_ratio ENDP


MNEMONIC ALPHA:
U
G S
R P
R
E
A G
C D
S
S
A
L

Your question makes no sense, please elaborate your question a bit more clearly.

Also, which processor and assembler are you using?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.