flat assembler
Message board for the users of flat assembler.

Index > OS Construction > What did OUT DX,EAX do?

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 31 Aug 2015, 16:03
neither
Code:
OUT DX, AL
OUT DX, AH
OUT DX, A(16-23)
OUT DX, A(24-31)    
nor
Code:
OUT DX, AL
OUT DX+1, AH
OUT DX+2, A(16-23)
OUT DX+3, A(24-31)    
Post 31 Aug 2015, 16:03
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20355
Location: In your JS exploiting you and your system
revolution 31 Aug 2015, 16:18
It puts the 16-bit address in DX on the address bus, and the 32-bit data on the data bus. But it is up to the device on the bus to determine what it should do with those bits and whether or not to use all bits or just some.

Moving to OS Construction
Post 31 Aug 2015, 16:18
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.