Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

microprossesor 8086 opcode need help.

Status
Not open for further replies.

ericyeoh

Member level 2
Joined
Jun 3, 2009
Messages
46
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
malaysia
Activity points
1,635
Hi guys, just wanna ask is below are correct?

ADD Bx,1234.

Using --> "ADD immed to reg/mem 100000sw mod000r/m [addr] data"

then 1000 0001[SW] 11MODERATOR ACTION: 011[BX] 110 [direct address]

opcode = 81 DE H

Is is correct?

How about MOV [1234],AX?
 

Take my advice, don't waste your time coding 8086 programs in binary.

Get hold of a free assembler, I suggest NASM or FASM and just type the instruction in. If you really must see the binary code, assemble the opcode then look at the resulting list file, it will show the instruction and it's hex or binary equivalent side-by-side.

Brian.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top