lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

Instruction execution.html (1619B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      3 <html><head><link rel="stylesheet" href="sitewide.css" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="exporter-version" content="Evernote Mac 6.13.1 (455785)"/><meta name="altitude" content="-0.4324055016040802"/><meta name="author" content="Alex Balgavy"/><meta name="created" content="2017-12-14 3:34:00 PM +0000"/><meta name="latitude" content="52.33300107849124"/><meta name="longitude" content="4.865514777109206"/><meta name="source" content="desktop.mac"/><meta name="updated" content="2017-12-16 9:52:37 PM +0000"/><title>Instruction execution</title></head><body><div>LOAD (e.g. Load R5, X(R7))</div><div><ol><li>Fetch instruction, increment PC</li><li>Decode instruction, read contents of R7</li><li>Compute effective address</li><li>Read memory source operand</li><li>Load operand into destination R5</li></ol><div><br/></div><div>STORE (e.g. Store R6, X(R8))</div><div><ol><li>Fetch instruction, increment PC</li><li>Decode instruction, read R6 and R8</li><li>Compute effective address of X+[R8]</li><li>Store contents of R6 into memory location X+[R8]</li><li>No action</li></ol></div><div><br/></div><div>Arithmetic &amp; Logic (e.g. Add R3, R4, R5)</div><div><ol><li>Fetch instruction, increment PC</li><li>Decode instruction, read contents of R4, R5</li><li>Compute sum [R4] + [R5]</li><li>No action</li><li>Load result into destination R3</li></ol><div><br/></div></div></div><div><br/></div></body></html>