I was going through these tutorials -https://www.youtube.com/watch?v=0dLkvasLSlo&list=PLPedo-T7QiNsIji329HyTzbKBuCAHwNFC&index=33 and i wanted to create a procedure in flat assembler. This is what i tried and when i try to emulate it gives me the notification of illegal instruction "proc". Please can anyone help me to fix the code or suggest me where i am doing wrong. Thank you.
fasm
org 100h
proc blue
mov ax,3
call green
mov ax,5
ret
endp
proc green
mov ax,2
ret
endp
That's not fasm syntax. fasm does not use
proc
/endp
. Just use a label, such as: