assembly reference
code

UNDER THE COVERS

  Number Representation:   bases & unsigned integers  ·  signed integers  ·  floats & IEEE 754
 
  ASCII Characters:   about ascii  ·  ascii: 00-7f (0-127) 80-ff (128-255)  ·  
 
  Unicode Characters:   about unicode & utf  ·  unicode character list
 
  Space & Time:   bits, bytes & megabytes   ·   powers of 2   ·   speed & time
 
  Instructions:   intel 8086 opcodes  ·  emu 8086 instructions  ·  opcode by hex #  (explained)
 

EMULATORS

  emu8086:   reference   ·   tutorials   ·   template.asm  .lst  .png     ·     zip    
 
  microsim:   microSim   ·   microsim doc   

Representing the Number 5
EVERYTHING is stored as a binary code (1s and 0s), but there are MANY codes... ------------------------------------------------------------------------------ ASCII character: 0011 0101 UTF-8 unicode: 0011 0101 (same as ASCII in 8 bits) Unsigned decimal(8 bits): 0000 0101 Signed decimal(8): 0000 0101 (same as unsigned for a positive #) Unsigned decimal(16): 0000 0000 0000 0101 Unsigned decimal(32): 0000 0000 0000 0000 0000 0000 0000 0101 Floating Point (float): 0100 0000 1010 0000 0000 0000 0000 0000 Double (double): 0100 0000 0001 0100 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000

References

assembly language workbook
debugging in visual studio
debugging an exe (no source)
asm community | masm 32 | starman
axe hex editor

Assembly Code

emu8086: template.asm | .lst | .png
emu8086: add.asm | .lst
emu8086: palin.asm | .lst
emu8086: example code (jupiter)
code from detmer text on jupiter
code from irvine text on jupiter

Mixed C++ and Assembly Code

mixed assembly and C++ code
calling C++ from assembly (pdf)
dungeon game (exe - GF)   
binary bomb: defuse it? -- debug it!

Math

trig   ·   trig 2
primes
square

       xkcd