22 lines
251 B
NASM
22 lines
251 B
NASM
|
|
; %include '../lib/fl.asm' ; local
|
|
%include 'lib/fl.asm' ; build.sh
|
|
|
|
SECTION .data
|
|
msg1 db ' remainder '
|
|
|
|
SECTION .text
|
|
global _start
|
|
|
|
_start:
|
|
mov eax, 90
|
|
mov ebx, 9
|
|
div ebx
|
|
call iprint
|
|
mov eax, msg1
|
|
call sprint
|
|
mov eax, edx
|
|
call iprintLF
|
|
|
|
call quit
|