u did't understand me.I meant converting instructions into binary like,
int mayb 10111 in binary conversion, u get right?
like all the machines codes to binaries.or a program into bin file. give me the equivalent of the codes in binaries
u did't understand me.I meant converting instructions into binary like,
int mayb 10111 in binary conversion, u get right?
like all the machines codes to binaries.or a program into bin file. give me the equivalent of the codes in binaries
It's called an assembler. Unless you want a text file consisting of strings of 1's and 0's; in which case there is unlikely to be any commercial or freeware program that can do that - it's too unusual, and you would have to write your own. You would need to start by downloading some technical reference manuals from Intel's website.
Given that we are told processor belongs to the x86 family, that is hardly in dispute, is it? A program which converts assembly language into machine code (opcodes) is definitely called an assembler.
It is true that some genius at AMD had the bright idea of reassigning the opcode for the inc instruction, so that is no longer available on 64 bit processors running in 64 bit mode, but otherwise opcodes generally don't change.
Given that we are told processor belongs to the x86 family, that is hardly in dispute, is it? A program which converts assembly language into machine code (opcodes) is definitely called an assembler.
Just like the OP never said he wanted a program to convert assembly to machine code, just like I never said a program that converted assembly to machine code wasn't an assembler, so that's hardly in dispute either, is it? :rolleyes:
I need help as to how 2 change machine codes 2 binaries or hex like mov to mayb 101011111, yeah, u know like own compiler
Not sure what you are wanting to do, but here are some resources to check out. First, take a look at Randall Hyde's discussion of a "Y86" simplified CPU --
If you want to convert x86 assembly language instructions into machine code by hand you will have to download volumes 2A and 2B of Intel's manual for the Pentium processors.