Skip to Main Content
Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles
book

Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles

by James S. Evans - Lawrence University, Gregory L. Trimper - viika
April 2003
Intermediate to advanced content levelIntermediate to advanced
576 pages
15h 13m
English
Pearson
Content preview from Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles

E.2. Repeat Blocks

The gcc assembler provides two varieties of repeat blocks: those with an explicitly specified repetition count and those that are known as indefinite repeat blocks. These capabilities can assist with the formulation of repetitive code segments.

E.2.1. Simple Repeat Blocks

An astute reader may have speculated whether an assembler could provide any aids to automate the repeating pattern of instructions required by the algorithm for the SQUARES program presented in Chapter 1. If we wanted to extend the program toward some much larger total number of squares, would we really have to “copy and paste” with the text editor ad nauseam, or is there some alternative to that?

A repeat block indeed provides an alternative. A sequence of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ARM System Developer's Guide

ARM System Developer's Guide

Andrew Sloss, Dominic Symes, Chris Wright
Intel Xeon Phi Processor High Performance Programming, 2nd Edition

Intel Xeon Phi Processor High Performance Programming, 2nd Edition

James Jeffers, James Reinders, Avinash Sodani

Publisher Resources

ISBN: 0131013726Purchase book