N
, entered by a user, Fibonacci numbers, where
Irvine32.inc
is an inclusion file provided by Kip Irvine.
EAX
, EBX
, ECX
, and EDX
are 32-bit general-purpose registers.
WriteString
prints the string whose beginning address is at EDX
.
ReadInt
reads an integer from the screen and puts the result at EAX
.
WriteDec
prints a nonnegative integer at EAX
on the screen.
loop target
transfers the execution sequence to target
, ECX
times.
Fibonacci.asm
|
|
---|---|
|