04-pep-8-machine-language

04-pep-8-machine-language - A Brief Introduction to Pep/8...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: A Brief Introduction to Pep/8 Machine Language CSE 110: Introduction to Computer Science Stony Brook University Machine Language Set of instructions designed into the CPU A CPU is basically a (very) complex system of logic gates Internally, each instruction is represented as a sequence of bits Pep/8 is a (Fctional) CPU design that illustrates how machine language works Instruction Composition All machine instructions are a fxed length For the Pep/8, this length is 24 bits The frst ew bits contain the opcode , which indicates the operation to be perormed Each instruction type has a unique opcode The remaining bits indicate the operands: source and destination registers, etc. Pep/8 Basics The Pep/8 CPU has a total of 65,536 bytes (64K) of storage Addresses are numbered from 0-65535 The Pep/8 has 7 registers We will only use three of these registers All working data is placed in the accumulator (Register A) { Instruction Register Program Counter Register A (Accumulator) Pep/8 CPU Pep/8 RAM 0000 0001 0002 . . ....
View Full Document

This note was uploaded on 03/29/2012 for the course CSE 110 taught by Professor Shaunakpawagi during the Spring '08 term at SUNY Stony Brook.

Page1 / 14

04-pep-8-machine-language - A Brief Introduction to Pep/8...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online