GNUMDK
GNUMIXDevelopmentKit
Edition1.3.0,forGNUmdkVersion1.3.0
October,2020
byJoseAntonioOrtegaRuiz(jao@)
ThismanualisforGNUMDK(version1.3.0,October,2020),asetofutilitiesfordevel-
opingprogramsusingDonaldKnuth’sMIXmythicalcomputerandMIXAL,itsassembly
language.
c
Copyright2000,2001,2002,2003,2004,2005,2006,2008,2009,2010,2013,2014,2015,
2020FreeSoftwareFoundation,Inc.
Permissionisgrantedtocopy,distributeand/ormodifythisdocumentunder
thetermsoftheGNUFreeDocumentationLicense,Version1.2oranylater
versionpublishedbytheFreeSoftwareFoundation;withtheInvariantSections
being“GNUGeneralPublicLicense”,withtheFront-CoverTextsbeing“A
GNUManual,”andwiththeBack-CoverTextsasin(a)below.Acopyofthe
licenseisincludedinthesectionentitled“GNUFreeDocumentationLicense”.
(a)TheFSF’sBack-CoverTextis:“Youhavethefreedomtocopyandmodify
thisGNUmanual.BuyingcopiesfromtheFSFsupportsitindevelopingGNU
andpromotingsoftwarefreedom.”
i
ShortContents
Introduction1
Acknowledgements3
1Installingmdk5
2MIXandMIXALtutorial9
3Gettingstarted27
4Emacstools43
5mixasm,theMIXALassembler45
6mixvm,theMIXcomputersimulator47
7gmixvm,the