Computer Science 237 |
Lecture 17: Synchronous Counters, Arrays in Assembly Language
Date: October 20, 2006
d(\%an,\%dm.w)
a: array [1..20] of integer;or even
a: array [-10..10] of integer;In the first case, this "correction factor" would be -2, to offset the indexed value by -2 (subtract 1 2-byte element). In the second case, we have a correction factor of 20 (add 10 2-byte elements).