Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-g78kv Total loading time: 0 Render date: 2024-07-27T20:28:55.770Z Has data issue: false hasContentIssue false

A - The VeSPA instruction set architecture (ISA)

Published online by Cambridge University Press:  31 October 2009

David J. Lilja
Affiliation:
University of Minnesota
Sachin S. Sapatnekar
Affiliation:
University of Minnesota
Get access

Summary

The instruction set architecture (ISA) of the VeSPA (Very Small Processor Architecture) defines the interface between the hardware designer and the assembly language programmer. It consists of all of the programmer accessible storage, plus all of the instructions.

Notational conventions

The following notation is used in this appendix to describe the ISA.

  • #. This symbol is used to identify an immediate operand.

  • rdst. One of the general-purpose registers that will be used as the destination to store the result produced by an instruction.

  • rs1, rs2. One of the general-purpose registers that will be used as a source value in an operation.

  • rst. The register that will be written to memory in a store operation.

  • R[rx]. The contents of general-purpose register rx.

  • Mem[x]. The contents of memory location x.

  • immedX. An X-bit immediate value used as a literal.

  • LABEL. Used in the assembler to symbolically specify a memory location, that is, by name.

  • ;. Used in the assembler to mark the beginning of a comment.

  • sext(x). Sign-extend the value x by replicating the sign bit as many times as necessary to extend x to a 32-bit value.

  • setcc(x). Set the condition code bits according to the value x.

Storage elements

The following storage elements are defined in the ISA and are accessible to the assembly language programmer, either directly or indirectly as a side effect of some instructions.

  • Memory. The main memory consists of 232 locations, each of which is eight-bits wide. The memory uses a big-endian organization so that the most-significant byte of a 32-bit value is stored at the smaller memory address.

  • […]

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×