Which Addressing Mode is this? MOV DX, ES:[BX+6]?

  • Thread starter Thread starter kloong
  • Start date Start date
  • Tags Tags
    Dx Mode
AI Thread Summary
The discussion focuses on the segmented memory model of the 8086 assembly language, highlighting how segments can overlap. Specifically, addresses like A000:0000 and A001:0000 are not 64KB apart due to this overlap, which occurs every 16 bytes. The addressing modes mentioned include register addressing, immediate addressing, direct addressing, and register indirect mode, with a specific example provided for displacement combined with indirect addressing. The example illustrates how to access a 16-bit memory word using the instruction "mov dx, es:6[bx]," where the displacement can be either 8-bit or 16-bit. This reflects the complexity and versatility of addressing in 8086 assembly language.
kloong
Messages
35
Reaction score
0
For 8086 assembly language.
 
Technology news on Phys.org
This is known as the segmented model. In this model as far as I know segments overlap every so many bytes (i think its 16 or some power of it). So basically A000:0000 and A001:0000 are not 64Kb apart but actually overlap.
 
x:y = 16*x+y

Unless my memory fails me.
 
umm.. I am thinking if it's register addressing mode, immediate addressing mode, direct addressing mode, register indirect mode or others..
 
displacement + indirect (register)

it can also be written as

mov dx,es:6[bx]

where 6 could be an 8 bit or 16 bit displacement (offset).

operand = 16 bit memory word at address [es*16 + bx + 6]
 
Last edited:
Wow. I never knew there are combined ones. Ok, thank you very much. =)
 
Thread 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top