Domov Technika Návod ke stroji

Návod ke stroji



MachineinstructionsareinstructionsthattheCPUcandirectlyrecognizeandexecute,andtheirmanifestationsarebinarycodes.Amachineinstructionisusuallycomposedofanopcodeandanoperand.Theopcodeindicatestheoperationtobecompletedbytheinstruction,thatis,thefunctionoftheinstruction,andtheoperandindicatestheobjectinvolvedintheoperation,andthelocationwheretheresultoftheoperationisstored.

BecausemachineinstructionsarecloselyrelatedtoCPUs,differenttypesofCPUscorrespondtodifferentmachineinstructions,andtheirinstructionsystemsareoftenverydifferent.ButforthesameseriesofCPUs,inordertomeetthegoodcompatibilitybetweenvariousmodels,itisnecessarytodo:theinstructionsystemofthenewgenerationCPUmustincludetheinstructionsystemofthepreviousCPUofthesameseries.OnlyinthiswaycanthevariousprogramspreviouslydevelopedrunnormallyonthenewgenerationofCPUs.

Machinelanguageisusedtodirectlydescribemachineinstructions,rulesforusingmachineinstructions,etc.ItistheonlylanguagethattheCPUcandirectlyrecognize,thatis,theCPUcandirectlyexecuteprogramsdescribedinmachinelanguage.

Writingprogramsinmachinelanguageistheworkofearlyprofessionalandtechnicalpersonnelwhohavebeenrigorouslytrained.Ordinaryprogrammersaregenerallydifficulttodo.Moreover,programswritteninmachinelanguagearenoteasytoread,havehigherrorrates,andaredifficulttomaintain.Cannotdirectlyreflectthebasicideaof​​usingcomputerstosolveproblems.

Becauseoftheaboveinconveniencesofwritingprogramsinmachinelanguage,almostnoprogrammerswriteprogramslikethis.

Tento článek je ze sítě, nereprezentuje pozici této stanice. Uveďte prosím původ dotisku
HORNÍ