Page 2 of 2

Re: Machine code

Posted: Thu Apr 11, 2013 7:00 pm
by GMac
on my amstrad cpc6128, which runs basic as os, one cannot inline assemble, so to write lda hlt one puts in machinecode, ie 62 for lda instruction, 118 for hlt cpu instruction, is this what you mean by machinecode? it's an ibm compat codewise box, so that ibmspeak would be mov al,118. from what I gathered, same code numbers.