1 / 22
Télécharger la présentation
Simplesem
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.
Content is provided to you AS IS for your information and personal use only.
Download presentation by click this link.
While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
During download, if you can't get a presentation, the file might be deleted by the publisher.
E N D
Presentation Transcript
Simplesem By B. Hosp
Simplesem • Programs to run on a simulator • Assembly Language for that simulated machine • Instruction Pointer • Code Memory • Data Memory
Set • Analogous to STORE instruction • set n, data • or set n, read for input • or set n, expression • set 5, 20 • set 5, (D[20] * D[0]) / (D[10]) • Also indirect addressing: • set D[15] read
Jump • Unconditional Jump • jump n or jump D[i] • Conditional Jump • jumpt address, expression • jumpt 5, D[0] = D[2]
Etc • Halt • Write • set write, expression • set write, read • reads from input and echoes to output.
More Related