You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2021. It is now read-only.
const usage = `Usage: ${path.basename(process.argv[0])} ${path.basename(process.argv[1])} [memory location in hex] [number of words in block] [number of words in memory] [number of words in cache]
Get the direct, associative, and set associative cache mapping for a memory location.`
try {
if (process.argv.length !== 6) throw 'Wrong number of arguments.'
let memLocation, wordsInBlock, wordsInMemory, wordsInCache