Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary - SCC.150: Digital Systems

Rating
-
Sold
-
Pages
2
Uploaded on
13-05-2023
Written in
2021/2022

This document provides a summary on the topics in Digital Systems of Computer Architecture - which includes information on the first computer, cambridge EDSAC, manchester SSEM, architecture styles and computer execution cycles. Also includes the topics Assembly including information on Mars MIPS emulator, assembly language, memory mappings.

Show more Read less
Institution
Course

Content preview

At 'b¥ .




7

MIPS Design goals Memory Layout Two
- lowering of compiler to the hardware level - stack pointer $sp grows downwards towards data - Po
- not raising hardware to the software level - static data starts at 0x10000000 - Ob
- global pointer $gp points to static data set to 0x10008000 to - To
MIPS is a 32 bit architecture access from 0x10000000 to 0x1000ffff using positive and
This defines: negative 16-bit offset Pro
- the range of values in basic arithmetic (how big is an int) - program counter $pc points to the next instruction and needs to be A pr
- num of addressable bytes (up to 2^(32)-1 modified to change flow of program execution a sp
- the width of a standardised register is pr
Conditional Branch
- Complex operat
Simple set of instructions:
- Can make code
- all instructions have the same 32 bit format Different conditions are tested
- Program elemen
- instructions operate on 32 32-bit registers - Branch on equal beq
- Same procedure
- designed to run in a single clock cycle - Branch on not equal bne
- Set on less than slt
MIPS registers fo
3 types of instructions
- $a0-$a3: Arg
- Register type (R-type) PC relative addressing
- $v0, $v1: Retur
- immediate type (I-type) - Take the address of offset and sign extend by 32 bits
- $ra: Return add
- Jump type ()-type) - Multiply by 4 (left shift by 2 places since it is 2^2)
- Add to the program counter
Syscall:
Memory mapped
- Allows you to call upon basic system functions Exceptions
- Programs use m
- A special instruction that transfers control to the operating
- Any lw/sw inst
system kernel An exception is any unexpected change in flow control
greater will acces
- Provided for convenience
- Used to access
- Implementation is part of the OS Synchronised Exception
- In MARS: keyb
- Written by another programmer - Caused by an instruction in the running program
- Arithmetic exceptions, invalid memory addresses in

Execution: load/store, trap instructions etc…

1) Load service into $v0
2) Load argument values into $a0, $a1, $a2 or $f12 Asynchronised Exception

3) Issue syscall instruction - Caused by I/O device requesting the processor

4) Retrieve return values from result registers - Also known as hardware interrupt


Handling:
- Control is transferred to an exception handler
- Handling in MIPS is implemented by Coprocessor0
- Exception handling registers of CP0:




L

Written for

Institution
Study
Unknown
Course

Document information

Uploaded on
May 13, 2023
Number of pages
2
Written in
2021/2022
Type
SUMMARY

Subjects

$4.90
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
charlottel1

Get to know the seller

Seller avatar
charlottel1 Lancaster University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions