the IN instruction

Andrew Yung (ayung@physics.ubc.ca) Sun, 20 Feb 2000 16:21:28 -0800


From: "Andrew Yung" <ayung@physics.ubc.ca>
Subject: the IN instruction
Date: Sun, 20 Feb 2000 16:21:28 -0800

I have the following piece of code: MOV DX,224H IN AL,DX Will the IN instruction try to load al with the _word_ in DX or the _byte_? Could I just replace this code with: MOV BX,224H MOV AL,[BX] to achieve the same result, or is there something special about the IN instruction? Thanks!