Please help me. I've been working for three straight hours going through every piece of documentation I can. I'm really new to assembly and I'm trying to print "lol" onto the console. Here is my code:
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
.code
main proc
mov edx,3
mov ecx,"lol"
mov ebx,1
mov eax,4
int 80h ;a website told me that this is the system call so i put it here but idrk
main endp
end main
it returns with: Exception thrown at 0x004E1024 in AssemblyLearning.exe: 0xC0000005: Access violation reading location 0xFFFFFFFF.