📄 mdk_intro.texi
字号:
@c -*-texinfo-*-@c This is part of the GNU MDK Reference Manual.@c Copyright (C) 2000, 2001@c Free Software Foundation, Inc.@c See the file mdk.texi for copying conditions.@c $Id: mdk_intro.texi,v 1.5 2001/09/16 22:17:33 jao Exp $@node Introduction, Acknowledgments, Top, Top@comment node-name, next, previous, up@unnumbered Introduction@cindex IntroductionIn his book series @cite{The Art of Computer Programming} (published byAddison Wesley), D. Knuth uses an imaginary computer, the MIX, and itsassociated machine-code and assembly languages to ilustrate theconcepts and algorithms as they are presented. The MIX's architecture is a simplified version of those found in realCISC CPUs, and the MIX assembly language (MIXAL) provides a set ofprimitives that will be very familiar to any person with a minimumexperience in assembly programming. The MIX/MIXAL definition is powerfuland complete enough to provide a virtual development platform forwriting quite complex programs, and close enough to real computers to beworth using when learning programming techniques. At any rate, if youwant to learn or improve your programming skills, a MIX developmentenvironment would come in handy.The @sc{mdk} package aims at providing such virtual developmentenvironment on a GNU box. Thus, @sc{mdk} offers you a set of utilitiesto simulate the MIX computer and to write, compile, run and debug MIXALprograms. As of version @value{VERSION}, @sc{mdk} includesthe following programs:@table @code@item mixasmMIXAL assembler. Assembler which translates MIXAL source files intoprograms that can be run (and debugged) by @code{mixvm}, @code{mixguile}or @code{gmixvm}.@item mixvmMIX virtual machine. Emulation of the MIX computer with a @acronym{CLI}.@item gmixvmA GTK+ GUI for the MIX virtual machine. Provides all of @code{mixvm}functionality accessible through a graphical interface.@item mixguileA Guile shell, with an embedded MIX virtual machine and built-incommands to manipulate it using Scheme.@item mixvm.elThis elisp program allows running @code{mixvm} inside an Emacs GUDbuffer, allowing concurrent edition and debugging of MIXAL programs.@end table @code{mixvm} and @code{gmixvm} implement a simulator of the MIXcomputer, giving you a virtual machine for executing and debugging MIXprograms. These binary programs could be written by hand, but it iseasier to produce them compiling MIXAL source files, using the MIXALassembler @code{mixasm}. On the other hand, @code{mixguile} offers youthe possibility of manipulating a MIX virtual machine through a set ofScheme functions, so that you can use this programming language tointeract with the virtual machine. In addition, @code{mixvm} and@code{gmixvm} are also able to interpret Scheme scripts (using anembedded Guile interpreter), that is, you can use Scheme as an extensionlanguage to add new functionalities to these programs.This manual gives you a tutorial of MIX and MIXAL, and a thoroughdescription of the use of the @sc{mdk} utilities.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -