所需E币: 3
时间: 2019-12-24 21:21
大小: 238.26KB
Whenmigratingassemblylanguageprogramsfromonefamilyofmicrocontrollerstoanother,thefirstques-tionisalmostalways:“What’stheequivalentopcode?”Someoperations,likeadditionandsubtraction,areself-evidentandpracticallyuniversal.Otherinstruc-tionsmayhavesomesubtlechangesinsyntaxorspell-ingthatmakedirectconversionsabittrickier.Occasionally,someinstructionssimplydon’thaveadirectequivalentinthetargetset,oranequivalentexistsbutisexplainedindifferentterms.TB071ConvertingfromMotorolaHC08toMicrochipAssembler:AQuickReferenceAuthor:RodgerRichey2.BothMotorolaandMicrochipuseadatamem-orythatis8bitswide.Withtheircorearchitec-MicrochipTechnologyInc.ture,MotorolaHC08devicesarealsolimitedtoWhenmigratingassemblylanguageprogramsfrom8-bitwideprogrammemoriesaswell.Microchiponefamilyofmicrocontrollerstoanother,thefirstques-PICmicrodevices,ontheotherhand,havepro-tion……