Jump to content

Machine Language for Beginners

From RetroTechCollection

Machine Language for Beginners: Personal Computer Machine Language Programming for the Atari, VIC, Apple, Commodore 64, and PET/CBM Computers is a book by Richard Mansfield, published by COMPUTE! Publications, Inc., Greensboro, North Carolina, © 1983 Small System Services, Inc., ISBN 0-942386-11-6, cover price US$14.95. The printed book runs to xii + 350 pages; the hosted copy is a fourth printing (printer's line "10 9 8 7 6 5 4") from the retro-commodore.eu archive, with a searchable text layer.[1]

The book teaches 6502 machine language to readers who already know BASIC. The worked examples are given in separate versions for the Atari, VIC-20, Apple, Commodore 64 and PET/CBM. Chapter 9 gives a machine-language routine for each common BASIC statement, and the appendices supply a simple assembler, a disassembler and the Supermon monitors as type-in programs.[1]

The copyright page credits sections first published in COMPUTE! magazine: "A few entry points, original/upgrade ROM" and "Plotting With the CBM 2022 Printer" (January/February 1980), "BASIC 4.0 Memory Map" and "PET 4.0 ROM Routines" (November/December 1980), "Shoot" (September 1981), "SUPERMON" (December 1981), "MICROMON" (January 1982), "More VIC Maps" (March 1982), "Commodore 64 Memory Map" (October 1982), "VIC Micromon" (November 1982) and "Supermon 64" (January 1983).[1]

Contents

[edit | edit source]
  • Preface (v), Introduction: Why Machine Language? (vii)
  • 1 How To Use This Book (1), 2 The Fundamentals (7), 3 The Monitor (23), 4 Addressing (37), 5 Arithmetic (53), 6 The Instruction Set (63), 7 Borrowing from BASIC (91), 8 Building A Program (97), 9 ML Equivalents Of BASIC Commands (121)
  • Appendices: A Instruction Set (149), B Maps (167), C Assembler Programs (223), D Disassembler Programs (237), E Number Charts (243), F Monitor Extensions (253), G The Wedge (335)
  • Index (339)

[1]

Pages missing from the scan

[edit | edit source]

The PDF has 257 pages. The printed page numbers jump in four places, so 117 printed pages are absent:[1]

Printed pages present and missing in the hosted scan
Printed pages In the scan? What they hold
i-xii, 1-166 Present Front matter, chapters 1-9, Appendix A
167-192 Missing Start of Appendix B (maps before Map 6)
193-204 Present Appendix B, Map 6: Commodore 64 memory map
205-222 Missing Rest of Appendix B
223-230 Present Start of Appendix C
231-236 Missing Rest of Appendix C
237-251 Present Appendix D and Appendix E
252-318 Missing Most of Appendix F (the index places VIC Micromon at pp. 296-318)
319-350 Present Supermon 64 (end of Appendix F), Appendix G, index

Of the memory maps in Appendix B, only the Commodore 64 map survives in the scan. The maps credited to COMPUTE! for the PET/CBM (BASIC 4.0) and the VIC fall in the missing pages. The index is complete, so its page references show what is absent.[1]

What the book does not contain

[edit | edit source]

It is a programming book. Its memory maps list addresses and what is stored there; there are no schematics, parts lists or service procedures for any machine.

[edit | edit source]

Download: Computes_Machine_Language_for_Beginners.pdf (227 MB)

References

[edit | edit source]
  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 Richard Mansfield, Machine Language for Beginners, COMPUTE! Publications, 1983, ISBN 0-942386-11-6. Title page and copyright page (pp. i-ii); contents p. iii; index pp. 339-350; printed page numbers checked on every PDF page.