Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: brownsfan

“Assembler is the basic way to talk to a processor.”

Is it the same as Machine Language?


75 posted on 03/29/2018 9:45:12 PM PDT by Dr. Bogus Pachysandra (Don't touch that thing! Don't let anybody touch that thing!I'm a doctor and I won't touch that thing)
[ Post Reply | Private Reply | To 36 | View Replies ]


To: Dr. Bogus Pachysandra
Almost. Writing in machine language would literally mean writing a sequence of binary or hex words to load into memory - i.e. the "object code" in the picture below.

Assembly language introduces mnemonic text representations of the various machine level instructions, followed by a human readable sequence of other text mnemonic representations of register names, comma separated numbers if the instruction defines a number (like an address, a number to load into a register, or whatever). Plus, you can add text labels for addresses to jump to, and of course lots of comments to explain what the heck you are doing.

Good example picture of assembly vs. machine language is below:


78 posted on 03/29/2018 10:00:54 PM PDT by MCH
[ Post Reply | Private Reply | To 75 | View Replies ]

To: Dr. Bogus Pachysandra

“Is it the same as Machine Language?”

Closely related. Assembly language is a “pretty front end”, (sarcasm intended), to machine language.

Machine language is all 1’s and 0’s. Assembly looks something like:

MOV CX, 15

(Put a value of 15 in a register).


84 posted on 03/30/2018 7:29:10 AM PDT by brownsfan (Behold, the power of government cheese.)
[ Post Reply | Private Reply | To 75 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson