diff options
-rw-r--r-- | doc/mdk_tut.texi | 16 | ||||
-rw-r--r-- | mixlib/mix_types.c | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/doc/mdk_tut.texi b/doc/mdk_tut.texi index b08e285..2358871 100644 --- a/doc/mdk_tut.texi +++ b/doc/mdk_tut.texi @@ -1,10 +1,10 @@ @c -*-texinfo-*- @c This is part of the GNU MDK Reference Manual. -@c Copyright (C) 2000, 2001, 2002, 2003 +@c Copyright (C) 2000, 2001, 2002, 2003, 2004 @c Free Software Foundation, Inc. @c See the file mdk.texi for copying conditions. -@c $Id: mdk_tut.texi,v 1.11 2003/06/09 15:19:02 jao Exp $ +@c $Id: mdk_tut.texi,v 1.12 2004/06/09 22:56:41 jao Exp $ @node MIX and MIXAL tutorial, Getting started, Installing MDK, Top @comment node-name, next, previous, up @@ -160,10 +160,10 @@ following table: @multitable {00} {C} {00} {C} {00} {C} {00} {C} @item 00 @tab @tab 01 @tab A @tab 02 @tab B @tab 03 @tab C @item 04 @tab D @tab 05 @tab E @tab 06 @tab F @tab 07 @tab G -@item 08 @tab H @tab 09 @tab I @tab 10 @tab d @tab 11 @tab J +@item 08 @tab H @tab 09 @tab I @tab 10 @tab ~ @tab 11 @tab J @item 12 @tab K @tab 13 @tab L @tab 14 @tab M @tab 15 @tab N @item 16 @tab O @tab 17 @tab P @tab 18 @tab Q @tab 19 @tab R -@item 20 @tab s @tab 21 @tab p @tab 22 @tab S @tab 23 @tab T +@item 20 @tab [ @tab 21 @tab # @tab 22 @tab S @tab 23 @tab T @item 24 @tab U @tab 25 @tab V @tab 26 @tab W @tab 27 @tab X @item 28 @tab Y @tab 29 @tab Z @tab 30 @tab 0 @tab 31 @tab 1 @item 32 @tab 2 @tab 33 @tab 3 @tab 34 @tab 4 @tab 35 @tab 5 @@ -174,10 +174,10 @@ following table: @item 52 @tab @@ @tab 53 @tab ; @tab 54 @tab : @tab 55 @tab ' @end multitable @noindent -The value 0 represents a whitespace. Lowercase letters (d, s, p) -correspond to symbols not representable as ASCII characters (uppercase -delta, sigma and gamma, respectively), and byte values 56-63 have no -associated character. +The value 0 represents a whitespace. The characters @c{~}, @c{[} and +@c{#} correspond to symbols not representable as ASCII characters +(uppercase delta, sigma and gamma, respectively), and byte values 56-63 +have no associated character. Finally, the MIX computer features a virtual CPU which controls the above components, and which is able to execute a rich set of diff --git a/mixlib/mix_types.c b/mixlib/mix_types.c index 7f523f3..58fe3c9 100644 --- a/mixlib/mix_types.c +++ b/mixlib/mix_types.c @@ -1,7 +1,7 @@ /* -*-c-*- ------------------ mix_types.c : * Implementation file for mix_types.h declarations. * ------------------------------------------------------------------ - * $Id: mix_types.c,v 1.3 2004/06/07 00:01:03 jao Exp $ + * $Id: mix_types.c,v 1.4 2004/06/09 22:56:26 jao Exp $ * ------------------------------------------------------------------ * Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc. * @@ -39,8 +39,8 @@ static glong mask_[MIX_BYTE_MAX + 1]; #define NONP_ (guchar)('?') static mix_char_t ascii_to_mix_char_[UCHAR_MAX + 1]; static guchar mix_char_to_ascii_[MIX_CHAR_MAX + 1] = { - ' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'd', 'J', - 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 's', 'p', 'S', 'T', + ' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', '~', 'J', + 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', '[', '#', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '.', ',', '(', ')', '+', '-', '*', '/', '=', '$', '<', '>', '@', ';', ':', '\'' |