I'm having a hard time assigning values greater than 65536 (16 bits), in my code example I assign the value of 86400 (one-day value) to a variable with DD declaration (32-bit architecture), and the following error is displayed when trying to compile.
.data
dia dd ?
re dd ?
.code
mov dia, 86400
mov re, 65536
mov ax, re
cmp ax, dia
jg programa
sub dia, re
programa:
hlt
Does anyone know a way to do this?