Why we can move directly a number or content of a memory to segment register ???
You can move memory contents into a segment register (mov es,[002ch]) but you can't move an immediate value.
mov es,1000h <--- doesn't work
must be done
mov ax,1000h
mov es,ax
well thanks !
now I want to create a random number , anyone know how to do it ???
you need a random number generator. theres a few posted in the forum if you look.