110 likes | 202 Views
Computer Programming. Machine and Assembly. Transition from High to Low. Machine Language compiler machine language deals with … machine language files end in …. Transition from High to Low. Assembly it is … Each statement represents … compiler is called …. Transition from High to Low.
E N D
Computer Programming Machine and Assembly
Transition from High to Low Machine Language • compiler • machine language deals with … • machine language files end in …
Transition from High to Low Assembly • it is … • Each statement represents … • compiler is called …
Transition from High to Low Machine and Assembly • advantages? • disadvantages?
Machine Language • operation code (op-code) • operands
Machine Language ~ Examples #1 ~ load the value A2 into register A 3E A2
Machine Language ~ Examples #2 ~ stores 254 (base 10) in memory location D203 3E FE 32 D203 76
Assembly Language ~ Examples #1 ~ store 254 (base 10) in memory location D203
Assembly Language ~ Examples #2 ~ store 53 in register B
Assembly Language ~ Examples #3 ~ move the byte at address 2D34 to address AA30 using register A as a temporary storage
Assembly Language ~ Examples #4 ~ add A0 to the byte stored at address 10CC using register A as a temporary storage