Skip to main content

Assembly Language Programming

  • Chapter
Graphics Programming in C++

Abstract

The last couple of chapters have shown how to produce wire-frame and polygon-fill graphics with software written in C++ — for the generation of complex images which must be updated in real-time it may be necessary to replace some of the C++ code with an assembly language equivalent. The assembly language instruction set is closely connected to the actual machine code executed by the computer — it is therefore possible to approach the optimum utilization of processor resources by rewriting selected sections of a graphics application in assembly language. The main topics covered by this chapter include:

  • microcomputer architecture

  • data and address registers

  • the 80x86 assembly language instruction set

  • operation of the program stack

  • working with inline assembly code

  • modifying the program message loop

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag London Limited

About this chapter

Cite this chapter

Welmsley, M. (1998). Assembly Language Programming. In: Graphics Programming in C++. Springer, London. https://doi.org/10.1007/978-1-4471-0905-1_10

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-0905-1_10

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-4471-1231-0

  • Online ISBN: 978-1-4471-0905-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics