文档介绍:Lo’puterChapter6:1ECE271-:-puterSymbolHexcodeDescriptionAND 0or8 ANDMtoACADD 1or9 AddMtoAC,carrytoELDA 2orA LoadACfromMSTA 3orB StoreACinMBUN 4orC BranchunconditionallytomBSA 5orD Savereturnaddressinmandbranchtom+1ISZ 6orE IncrementMandskipifzeroCLA 7800 LE 7400 ClearECMA ME plementECIR 7080 IL 7040 CirculateleftEandACINC 7020 IncrementAC,carrytoESPA 7010 SkipifACispositiveSNA 7008 SkipifACisnegativeSZA 7004 SkipifACiszeroSZE 7002 SkipifEiszeroHLT 7001 puterINP F800 InputinformationandclearflagOUT F400 OutputinformationandclearflagSKI F200 SkipifinputflagisonSKO F100 SkipifoutputflagisonION F080 TurninterruptonIOF F040 Turninterruptoff3ECE271-anizationMachineLanguageProgram:(C++,JAVA).However,::-anizationHierarchyofprogramminglanguagesTheuserusessymbols(Letter,numerals,orspecialcharacters)fortheoperation,addressandotherpartsoftheinstructioncode(ode).odebinarycodedinstructionThetranslationisdonebyaspecialprogramcalledanassemblerHigh-levelprogramminglanguage:C++::-anizationBinary/HexCode0 0010000000000100 1 0001000000000101 10 0011000000000110 11 0111000000000001 100 0000000001010011 101 11111********** 110 0000000000000000 BinarycodeLocationInstructionCodeBinaryProgramtoAddTwoNumbers:ItishardtounderstandthetaskoftheprogramodeLocationInstruction000 2004 001 1005 002 3006 003 7001 004 0053 005 FFE9 006 0000Hexadecimalcode6ECE271-anizationSymbolicOP-Code000 LDA 004 Load1stoperandintoAC001 ADD 005 Add2ndoperandtoA