Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
5 Cards in this Set
- Front
- Back
any time we use a "," between 2 values in assembly we are reading and/or writing memory, with one exception which is __ |
lea |
|
When will this statement not need a letter after "mov"? mov a,b |
When both a and b are registers (this is not the only time). |
|
Assume 2kb cahe with 16 byte linesize, 1 way associative. nblks=? nsets=? |
nblks = (2 * 1024 )/16=128 nsets = nblks/associativity=128/1=128 |
|
Assume 2kb cahe with 16 byte linesize, 2 way associative. nblks = 128 nsets = 64 blkbits=? setbits=? tagbits=? tagstoreage=? |
blkbits=log_2_(linesize)=4
setbits=log_2_(nsets) =7 tagbits = 32-blkbits-setbits=21 tagstorage=tagbits*nblks=21*128=2688 bits =336 bytes |
|
linesize synonym |
blksz |