0% found this document useful (0 votes)
45 views

Midterm 2 Notes Sheet

The document contains information about different numeric systems (binary, octal, decimal, hexadecimal) and how they represent values from 0 to 17. It also includes brief descriptions of Boolean logic gates and the instruction format and common operations for the Pep/8 architecture, as well as the format for 32-bit floating point numbers.

Uploaded by

salmanshokha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Midterm 2 Notes Sheet

The document contains information about different numeric systems (binary, octal, decimal, hexadecimal) and how they represent values from 0 to 17. It also includes brief descriptions of Boolean logic gates and the instruction format and common operations for the Pep/8 architecture, as well as the format for 32-bit floating point numbers.

Uploaded by

salmanshokha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Binary/Base 2

Octal/Base 8

Decimal/Base 10 Hexadecimal/Base 16

0000

0001

0010

0011

0100

0101

0110

0111

1000

10

1001

11

1010

12

10

1011

13

11

1100

14

12

1101

15

13

1110

16

14

1111

17

15

1 0000

20

16

10

Boolean Gates Quick Reference

NOT

AND

OR

XOR

Pep/8 Instruction Format


opcode
(4 bits)

Addressing Mode

Treats operand as

000

a literal (immediate) value

001

a memory address

Addressing mode
(3 bits)

Destination register
or 5th bit of opcode

Operand
(16 bits)

32-bit Floating-Point format


1 sign bit
8-bit exponent (bias value is 127)
23-bit mantissa

Opcode

Operation to perform

1100

LOAD a value into a register

1110

Store a value from a register

0111

Add a value to a register

1000

Subtract a value from a register

You might also like