Skip to Content
Computers as Components, 2nd Edition
book

Computers as Components, 2nd Edition

by Marilyn Wolf
July 2008
Intermediate to advanced
544 pages
16h 52m
English
Morgan Kaufmann
Content preview from Computers as Components, 2nd Edition
Lab Exercises 291
LAB EXERCISES
L5-1 Compare the source code and assembly code for a moderate-size program.
(Most C compilers will provide an assembly language listing with the -s flag.)
Can you trace the high-level language statements in the assembly code? Can
you see any optimizations that can be done on the assembly code?
L5-2 Write C code for an FIR filter. Measure the execution time of the filter, either
using a simulator or by measuring the time on a running microprocessor. Vary
the number of taps in the FIR filter and measure execution time as a function
of the filter size.
L5-3 Generate a trace for a program using software techniques. Use the trace ...
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

Computers as Components, 3rd Edition

Computers as Components, 3rd Edition

Marilyn Wolf
Computer System Designs: System-on-Chip

Computer System Designs: System-on-Chip

Michael J. Flynn, Wayne Luk
PC Hardware in a Nutshell, 3rd Edition

PC Hardware in a Nutshell, 3rd Edition

Robert Bruce Thompson, Barbara Fritchman Thompson

Publisher Resources

ISBN: 9780123743978