An Introduction to RV32I Interrupts and Traps

  Рет қаралды 7,529

John's Basement

John's Basement

Күн бұрын

An introduction to what IRQs and traps are and how they work on the 6502 and RV32I processors.
Course web site: faculty.cs.niu....
Errata: At 46:06 the first code at 'resume:' should save the address of the new thread's save area into the _current_thread variable!
Music used in this video (Vibe Tracks, Alternate) was downloaded from the KZbin Audio Library: www.youtube.co...
#riscv
#rv32

Пікірлер
@namvu4180
@namvu4180 Жыл бұрын
Lovely lecture as always! I'd absolutely love to have a lecture on riscv vector extension!
@JohnsBasement
@JohnsBasement Жыл бұрын
Thanks! Hopefully I will get back to some Risc-V tinkering at some point.
@ArthurOgawa-q9z
@ArthurOgawa-q9z 10 ай бұрын
I enjoyed the learning experience! So generous of you to put this information out here for us, Prof. Winans. I am curious to know how you regard the Control Data computers, like the CDC6600, in light of the current RISC lore which largely fails to mention them. I hand-wrote the instruction set on a Hollerith punch card so I could decode core dumps; it was small indeed.
@JohnsBasement
@JohnsBasement 10 ай бұрын
😂... My time on FDC machines was limited to Fortran. So I don't really have a basis to judge here..
@kenappleman5444
@kenappleman5444 3 жыл бұрын
You always have such great content, thank you
@JohnsBasement
@JohnsBasement 3 жыл бұрын
So nice of you to say. Thanks!
@lesliedellow1533
@lesliedellow1533 Жыл бұрын
So this is supposed to be a lecture about interrupts on RISC-V processors, and we learn all about interrupts on an ancient processor, which is probably no longer made. At least it lets me feel clever, because I already know the generalities.
@deterdamel7380
@deterdamel7380 Жыл бұрын
Great content!
@JohnsBasement
@JohnsBasement Жыл бұрын
Thanks! I'm glad to help!
@ChrisJackson-js8rd
@ChrisJackson-js8rd 3 ай бұрын
does my memory fail me or is there an ibm lineprinter somewhere missing its paperfeed lol.....
@MrNickolay1986
@MrNickolay1986 3 жыл бұрын
By the way, when they say in 6502 manual about something that gets stored in the stack, they mean some kind of hardware stack, right? Do such things exist?
@JohnsBasement
@JohnsBasement 3 жыл бұрын
Not really. The 6502 stack is in memory from 0x0100 to 0x01ff. The stack pointer is an 8-bit register that represents the low 8 bits of the memory addresses that are used for push & pop operations.
@JohnsBasement
@JohnsBasement 3 жыл бұрын
...actually, it depends on your definition of 'hardware stack'. I assume that if a stack is in the main memory, then the stack itself is not what I'd think of as a hardware stack. On the other hand, the CPU *does* have a dedicated stack register. So some might think of that as representing a 'hardware' stack.
@MrNickolay1986
@MrNickolay1986 3 жыл бұрын
@@JohnsBasement no, it's just I'm so used to thinking about 'stack' in terms of a container that holds items. So when someone says 'stack pointer' or 'stack register' I kinda struggle to understand what does it mean in relation to hardware operations and stuff (like what does it mean "push some value to the stack" processorwise).
@JohnsBasement
@JohnsBasement 3 жыл бұрын
@@MrNickolay1986 Yeah. This is why I tried to clarify my first reply. Maybe this will help: kzbin.info/www/bejne/mHaUYqN5r7tod9E
@MrNickolay1986
@MrNickolay1986 3 жыл бұрын
@@JohnsBasement OK, thanks!
@richardamullens
@richardamullens 3 жыл бұрын
Ancient history - and I know this because I started on the PDP-8/e. Examples for the RP2040 would be more pertinent.
@JohnsBasement
@JohnsBasement 3 жыл бұрын
😂... Yeah, maybe next year.
QEMU RV32I Installation & Setup
37:38
John's Basement
Рет қаралды 10 М.
Hardware interrupts
27:36
Ben Eater
Рет қаралды 597 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 27 МЛН
Memory Mapped I/O and an introduction to Serial and PCI Express Busses
54:51
AT&T Archives: The UNIX Operating System
27:27
AT&T Tech Channel
Рет қаралды 2 МЛН
RISC-V's PLIC specification
39:40
LearnRISC-V
Рет қаралды 4,7 М.
Ep 088: Introduction to Interrupts
14:30
Intermation
Рет қаралды 7 М.
Introduction to the RISC-V ABI
29:31
John's Basement
Рет қаралды 7 М.
Multiple Processors and Multiple Cores
46:09
John's Basement
Рет қаралды 6 М.
How does an OS boot? //Source Dive// 001
50:22
Low Byte Productions
Рет қаралды 418 М.
Fast Interrupts for RISC-V
31:17
RISC-V International
Рет қаралды 10 М.
Compilers, How They Work, And Writing Them From Scratch
23:53
Adam McDaniel (kiwi)
Рет қаралды 195 М.
A $9 Introduction to the RISC-V Future of Computing
26:34
apalrd's adventures
Рет қаралды 362 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26