Skip to main content
Book cover

MMIXware pp 62–109Cite as

MMIX-ARITH

  • Chapter
  • 1018 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1750))

Abstract

The subroutines below are used to simulate 64-bit MMIX arithmetic on an old-fashioned 32-bit computer—like the one the author had when he wrote MMIXAL and the first MMIX simulators in 1998 and 1999. All operations are fabricated from 32-bit arithmetic, including a full implementation of the IEEE floating point standard, assuming only that the C compiler has a 32-bit unsigned integer type.

Some day 64-bit machines will be commonplace and the awkward manipulations of the present program will look quite archaic. Interested readers who have such computers will be able to convert the code to a pure 64-bit form without difficulty, thereby obtaining much faster and simpler routines. Meanwhile, however, we can simulate the future and hope for continued progress.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Author and Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Knuth, D.E. (1999). MMIX-ARITH. In: MMIXware. Lecture Notes in Computer Science, vol 1750. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46611-8_3

Download citation

  • DOI: https://doi.org/10.1007/3-540-46611-8_3

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-66938-8

  • Online ISBN: 978-3-540-46611-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics