View Single Post
Old Oct 18th, 2006, 3:03 AM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Even though the commands (as machine code) are the same, the mnemonics might be different. For instance, Intel assembler for the 8080 used MOV A, B whereas the Zilog versions used LD A, B. Intel, for the other direction, used MOV B, A whereas Zilog used ST B, A. Another (different processor, maybe, it's been a long time) used LDA B, for instance.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote