「OFFSET ds:MSG」か?「ds:OFFSET MSG」か?
ふと疑問に思ったので、確認
CDSEG SEGMENT ASSUME cs:CDSEG,ds:DTSEG,ss:STSEG START: mov ax,DTSEG mov ds,ax mov ah,09H ;mov dx,OFFSET MSG mov dx,OFFSET ds:MSG int 21H mov ah,4CH int 21H CDSEG ENDS DTSEG SEGMENT MSG DB "Hello World$" DTSEG ENDS STSEG SEGMENT STACK DB 100H DUP(?) STSEG ENDS END START
で、
Hello World
どちらでも同じだった。良いの???