Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6887111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:50:40+00:00 2026-05-27T05:50:40+00:00

I have a short set of machine instructions (160 bytes), and I dont know

  • 0

I have a short set of machine instructions (160 bytes), and I dont know what it does.

Im on a mac and I ran it under a GDB dissasembler and it came out with this:

....f3c0:   jmp    0x7fff5fbff3c6
....f3c2:   scas   %es:(%rdi),%eax
....f3c3:   retq   $0xa3bf
....f3c6:   sub    $0x100,%esp
....f3cc:   xor    %ecx,%ecx
....f3ce:   mov    %cl,(%rsp,%rcx,1)
 + 50 more lines....

I know very little assembler, but some of the commands looked funny ( like rex.RXB, rex.WB, rex.B). So after a bit of googling I found this command which told me it was a DOS executable:

   $ file program
   program: DOS executable (COM)
  • Is there a program that can disassemble a DOS executable?

If not, I will try to disassemble it manually since there is only 160 bytes. However I will need a reference of what each bytes means. E.g.

90 = NOP
8a = MOV
....
  • Is there a reference like this for DOS machine code instructions?

  • How else might I find out what the program does?


Update:

After a great suggestion from IGOR I disassembled the code using a different program. However, there are still some bad instructions:

 e:  88 0c                  mov    BYTE PTR [si],cl
10:  0c fe                  or     al,0xfe
12:  c1                     (bad)  
13:  75 f9                  jne    0xe
......
......
96:  90                     nop
97:  e8 9d ff               call   0x37
9a:  ff                     (bad)  
9b:  ff 41 41               inc    WORD PTR [bx+di+0x41]
  • Any ideas why its says (bad)?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:50:40+00:00Added an answer on May 27, 2026 at 5:50 am

    If it’s a COM file, then it’s just raw real-mode x86 code. You can tell objdump to use 8086 mode, e.g.:

    objdump -b binary -D -m i8086 file.com
    

    To see Intel-style mnemonics (used by most of Intel and DOS documentation), add “-M intel“.

    For the instruction reference, try this or this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a build machine running in our development department, which we've set up
I have followed the instructions here . To cut a long story short, I
I am coding a messaging system and I don't want to have short IDs
I have a short question. Im my current project I'm using LINQ-to-SQl. That is
I have a short version of the question: I start a thread like that:
I have a short question, let's assume I have a TabBarController with 3 Tabs
I have a short question. I want do put this \tssr>&\8=f23' into a String
I have a short loop I used to create several .csv files. The loop
I'm trying to figure out how to have a short, one line conditional statement.
In short: I have two matrices (or arrays): import numpy block_1 = numpy.matrix([[ 0,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.