I would just like to know how x86 ASM instructions are translated into binary. EG: mov al,061h
becomes 10110000 01100001
Labdabeta
182
Posting Pro in Training
Featured Poster
Recommended Answers
Jump to PostIt is an agreement (or conversion).
If you ( d ) ecode or ( u ) nassemble that command in DEBUG in dos, you will see the op-codes [B0 61].-a 100 13B3:0100 mov al, 61 13B3:0102 -u 100 13B3:0100 B061 MOV AL,61
Each of those convert …
Jump to PostYes. If I understand the question correctly:
You will be creating (for all intents and purposes) a compiler.You will need to either create (or use) a mapping of the commands to the opcodes OR cheat.
The commands are a direct one-to-one (mostly) mapping from the command to the …
All 7 Replies
thines01
401
Postaholic
Team Colleague
Featured Poster
Labdabeta
182
Posting Pro in Training
Featured Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
miker00lz
0
Newbie Poster
miker00lz
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.