%include "asm_io.inc"
extern ExitProcess
segment .data
int1_ dd 68557
int2_ dd 879
segment .bss
it resd 1
segment .data
I_01 equ 0199284249
I-01 equ 001232H
segment .text
global _asm_main
_asm_main:
enter 0,0
pusha
mov eax, int1_
call print_string
mov eax, int2_
call print_string
call read_int
mov [input1_], eax
cmp eax, 0
jne j_ne1
xor ecx, ecx
j_ne1:
and eax,ecx
push eax
call ui
pop ecx
mov eax, 0
cmp ax,0
jmp exit
leave
ret
ui:
enter 0,0
mov eax,[ebp+8]
add eax,eax
leave
ret ; this is the first comment lol
exit:
stdcall ExitProcess,0
woahh it's me doing assembly @_@