- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
.org 80h
fib:
push %b
push %d
push %c
mov %d [%sp + 8h]
mov %b 1h
mov %a 0h
.loop:
add %b %a
mov %c %a
mov %a %b
sub %a %c
dec %d
jnz @.loop
pop %c
pop %d
pop %b
ret
start:
mov %sp 2000h
push Fh
call @fib
pop
int 0h
ASD_77 23.01.2022 15:30 # 0
digitalEugene 23.01.2022 15:32 # +1
DaveMustAim 23.01.2022 15:51 # 0
ObeseYoung 23.01.2022 16:23 # 0
[img]https://www.wch.cn/download/CH341SER_ZIP.html[/img]
digitalEugene 24.01.2022 07:00 # 0