I have declared a variable:
section .bss
var resb 1
I want to initialise this in my program to the value 255
.
mov [var], 255 ;error on this line
When compiling I get the error below:
program.asm:123: error: invalid size for operand 1
What am I doing wrong here?