I am trying to get a basic feel for assembly, here is my code:
section .text
global _start ;must be declared for linker (ld)
section .bss
num resb 5
_start: ;tells linker entry point
mov edx,len ;message length
mov ecx,msg ;message to write
.
.
.
The program does not compile with the error message "warning: attempt to initialize memory in BSS section `.bss': ignored ".
I did not find helpful answers on SO, can someone tell me what's wrong?