Skip to content

Commit

Permalink
note update
Browse files Browse the repository at this point in the history
co
  • Loading branch information
xy-241 committed Dec 21, 2023
1 parent b9a3f35 commit bf6379f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 35 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,19 @@ Author Profile:
tags:
- computer_organisation
Creation Date: 2023-09-28T09:59:05+08:00
Last Date: 2023-12-18T16:54:03+08:00
Last Date: 2023-12-21T15:10:57+08:00
References:
---
## Abstract
---
- Also known as *Machine Codes*
- [[Bit String]] stored in the [[Main Memory]]
- [[Bit String]]
- Passed to CPU to get translated to carry out [[Operation]]
- Doesn't specify which [[CPU Datapath]] does what, just specify what outputs are expected with a given input
- The instruction lifecycle can be broken down into [[Pipeline Stages]]
- Made up of 2 parts - [[#Opcode]] & [[#Parameter]]
- 2 forms - [[#Fixed-length]] & [[#Variable-length]]


## Terminologies
## 2 Parts
---
### Opcode
- Config for [[Control Unit#Control Signal]]
Expand All @@ -29,6 +27,10 @@ References:
- [[Register]] Address
- [[Memory Address]]
- Immediate Value


## Terminologies
---
### Branch
- An [[Instruction]] that causes [[Process]] to jump to a different location in the codes

Expand All @@ -40,4 +42,7 @@ References:

### Single Instruction Multiple Data
- This allows one [[Instruction]] to operate on multiple data at once and have multiple outputs essentially
- This can reduce the number of instructions in a program significantly, and have more data processed without the involvement of the inefficient [[Main Memory]]
- This can reduce the number of instructions in a program significantly, and have more data processed without the involvement of the inefficient [[Main Memory]]

### Expanding Opcode Scheme
- The [[#Opcode]] in an [[Instruction]] can be *extended* to accommodate additional instructions in the future without changing the basic format of the instruction set
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ Author Profile:
tags:
- computer_organisation
Creation Date: 2023-12-01T21:55:00
Last Date: 2023-12-01T22:03:51+08:00
References:
Last Date: 2023-12-21T15:16:36+08:00
References:
---
## Abstract
---
- The kernel we are playing is [xv6-riscv](https://github.com/mit-pdos/xv6-riscv)
- The [[Kernel]] we are playing is [xv6-riscv](https://github.com/mit-pdos/xv6-riscv)


## Compilation of the [[Kernel]]
## Compilation of the Kernel
---
```bash
```bash /128M/ /2/
docker run --rm -v $(pwd):/project -it --platform linux/amd64 yuxinyang/rv-tool-chain:latest make
docker run --rm -v $(pwd):/project -it --platform linux/amd64 yuxinyang/rv-tool-chain:latest make fs.img

Expand Down

0 comments on commit bf6379f

Please sign in to comment.