» Sat Oct 24, 2009 8:27 am
Assembly is basically the next level above 0's and 1's. An assembly instruction is translated to what is called an opcode, which is simply a number that is put into the binary number system and then fed directly into the CPU as digital sequences, which tells it to behave in a certain way. The exact values for these opcodes vary from OS to OS (and from CPU to CPU), but in Fallout2.exe, for example, which is a 32-bit Windows 9x program, the assembly instruction "mov ebx, 6" is translated to the hex numbers BB and 06 00 00 00, which is read backwards, so it's "187", "6", which is "10111011", "110", which is "STORE THE NUMBER 6 IN THE MEMORY SPACE NAMED EBX RIGHT NOW OR DIE".
Did you ever wonder how the if-function is implemented? I did. Turns out it's an assembly function, which means it's a physical part of your CPU that gets activated every time you put "if" in a script, instead of some math going on in the sublevels of the code itself.
Anything written in any programming language, be it C-derivatives or Java, will ultimately be translated to opcodes, or values passed with already existing opcodes.