Nybbles and MouseBytes: Ep2: Memory to Register Transfer Instructions

  Рет қаралды 4,783

Nybbles and Bytes

Nybbles and Bytes

Күн бұрын

Пікірлер: 56
@williammckeever4790
@williammckeever4790 5 жыл бұрын
I always found Indirect Addressing confusing back in the 80's and as a result avoiding using it. Eventually I figured it out and realized how useful these could be. You have described this in a very clear and understandable manner, much better than most of the books I had back then. Fantastic job demonstrating all of this in a video!
@00Skyfox
@00Skyfox 5 жыл бұрын
I just had a thought. If only there were videos like this back in the 80s when the C64 and C128 were big. With no youtube it would probably have to be on PBS or public access cable or something. But with comprehensive, east to understand instructions like this, it would have resulted in an even bigger generation of programmers getting started with more complex machine language coding.
@---Ben---
@---Ben--- 8 ай бұрын
at 4:39 you say "We've dumped memory from ". What do you mean by dumped here? Do you mean you're literally just showing use what's at that memory address? Thanks.
@Ensign_Cthulhu
@Ensign_Cthulhu Жыл бұрын
I really, REALLY like the way you go through the programs in stepwise fashion. Currently learning for the C64 so the memory addresses I write to are different, but as I understand it, the 8502's instruction set is similar enough in every way.
@NybblesandBytes
@NybblesandBytes Жыл бұрын
Glad you enjoy it! The instruction set in the 8502 vs. the 6510 is identical. The only difference between the CPUs is that the 8502 has a few more I/O lines and a different pinout compared to a 6510.
@10MARC
@10MARC 5 жыл бұрын
My brain does not wrap around assembly language very well... It did not in the eighties and still does not! But you are doing a great job explaining this, June. It was always strange, I could code in basic, C, Pascal and even Fortran back in the day, but sir me in from of an assembler and I am lost.
@RussellRiker
@RussellRiker 5 жыл бұрын
Glad to hear I'm not the only one.
@allanm6246
@allanm6246 5 жыл бұрын
I really struggled with machine language back in the 80's too. I started the machine code monitor on the Plus/4 and wondered what it was all about, But it slowly made sense as i read more books on it. Just think of LDA and STA as storing a variable or a poke command in Basic.
@lasseodin
@lasseodin 5 жыл бұрын
Never really got this before, but with you excellent desciption...away we go in the monitor. Thnx June. Love it
@lindaoffenbach
@lindaoffenbach 5 жыл бұрын
Oh, and I have to add that your terminology used remains very technical though. People at least must have heard a bell ring here and there to understand terms like 'mnemonics', 'operands', 'opcodes', 'registers' and such. You immediately have started with those words. For the absolute beginner it is abacadabra. Perhaps it helps if you don't start with those techy words but lead to them by trivial daily common examples. E.g., indexed memory ops. It is simply a way like a postman coming to your door and you refer her or him to another location to pick something up for further processing... for example. Etc. Or 'Immediate'. Well, that simply means filling A, X or Y with the value mentioned, rather than filling either of them with a value from a memory location. Etc. Keep it simple... You certainly try to do this with examples, but tend to remain too techy with words I think. Or you say: "What is Mnemonic grouping..." "It is just a set of opcodes... ...addressing modes"... Uhmmmm, *shrug.... etc. Less techy talk I would say :) Please don't take this as ranting. I'm just trying to provide with feedback. It's all up to you of course and you are brave enough already to give it a try to teach :)
@maxmuster7003
@maxmuster7003 5 жыл бұрын
You are a good teacher.
@NybblesandBytes
@NybblesandBytes 5 жыл бұрын
Thanks!
@einjen
@einjen 5 жыл бұрын
Your videos are absolutely stunning. I wish so much I had these in the eighties.
@huggyone7611
@huggyone7611 5 жыл бұрын
So great explanations. That’s not the easiest chapter and I had to write a lot of the lesson on paper to test later. Perhaps you should write a book ? 😉
@jublywubly
@jublywubly 5 жыл бұрын
Thanks for making, yet another, great video. 11:30 I wonder if the person who wrote the background music, consciously copied the tune from Eyes Without a Face, by Billy Idol.
@m.c.9008
@m.c.9008 3 жыл бұрын
Great Videos !
@NybblesandBytes
@NybblesandBytes 3 жыл бұрын
Thanks!
@flyingskyward2153
@flyingskyward2153 5 жыл бұрын
I've recently been helping someone make an old style Z-80 computer. It's my first time programming in Z-80 assembler, and dear god it's making me miss 6502. Considering the Z-80 was supposed to be the more advanced processor, it really feels clunky for certain tasks.
@jeffburrell7648
@jeffburrell7648 5 жыл бұрын
I am the inverse. When switching from Z80 to 6502, my reaction was pretty much the same as yours? I guess it depends on what one is used to.
@osgrov
@osgrov 5 жыл бұрын
Watching your videos is pure joy. Wonderful explanation of a pretty confusing topic! Lovely presentation on the familiar "green screen"! I would totally stick with that for future episodes, that was very clear and easy to follow. I remember scratching my head at those indirect modes back in the 80s, and gave up assembly, haha.. I wasn't old either, that's my excuse! Didn't pick up 6502 again, but got heavy into 68000 on the Amiga later. Anyway, much love from this viewer, always happy to see a new video from you. I did miss the white board in this episode, however. ;)
@---Ben---
@---Ben--- 8 ай бұрын
Also why the is the @ symbol being put at those addresses? I didn't see where you loaded that in (or did and missed it).
@papinkelman7695
@papinkelman7695 5 жыл бұрын
The music is distracting, not good
@NybblesandBytes
@NybblesandBytes 5 жыл бұрын
Working on that. Should have a different track for this soon.
@papinkelman7695
@papinkelman7695 5 жыл бұрын
@@NybblesandBytes Thanks for the reply, I was thinking about the volume.
@NybblesandBytes
@NybblesandBytes 5 жыл бұрын
Pa Pinkelman Are you listening using headphones, perchance? The music barely peaks at -25dB -- on speakers it should be barely noticeable.
@lindaoffenbach
@lindaoffenbach 5 жыл бұрын
Hi June (did I get that right?). TY so much for all your efforts. It is becoming all so very clear now :) Essentially, the C128 is a fantastic machine to learn deep basics of a computer. I am no collector of any vintage computer. We had Amigas at young age, but they were very complex concerning programming from my young perspective. I've never even have given them a try for programming. We just used them deeply seriously and not for games. I've downloaded Vice and will definitely give a shot at ASM on the C128. Specially your channel and the 8 Bit Guy really are doing all the magic for me. I just love both your style. You two should team up :) And who knows, in the end I will even learn how to progam an Amiga :)
@maxmuster7003
@maxmuster7003 5 жыл бұрын
I start to use assembler on a C64 without to have Internet and then i switch to x86 on 80286 and some times later on 80386 using MS DOS 5. For the C64 i bought a book from DATA BECKER with the complete dokumented ROM listing inside.
@jsd1982
@jsd1982 5 жыл бұрын
Cool! What's next, self-modifying code? Please please please...
@marijanlovric3109
@marijanlovric3109 5 жыл бұрын
Awesome! Thank you very much for making this video.
@elfenmagix8173
@elfenmagix8173 5 жыл бұрын
An excellent video. I will have to review a few more times.
@runnereyes
@runnereyes 2 жыл бұрын
Hi June, great channel, learning so much. Unrelated to this topic…How do you make the slide titles appear in double sized text?
@NybblesandBytes
@NybblesandBytes 2 жыл бұрын
Well, these slides were done in Apple's tooling, and these are just truetype fonts I'm using so I just set the font size. :D
@ccronn
@ccronn 5 жыл бұрын
Hi June!!!
@RussellRiker
@RussellRiker 5 жыл бұрын
Thank you for the great videos. Can't wait for the next one. On a side note. How do you generate the graphics for your exemples you show? They look amazing.
@NybblesandBytes
@NybblesandBytes 5 жыл бұрын
@Russell Riker its a mix of Motion generators and Keynote.
@cjh0751
@cjh0751 2 жыл бұрын
I've only found this series and it's brilliant
@NybblesandBytes
@NybblesandBytes 2 жыл бұрын
Glad you like it! :D
@cjh0751
@cjh0751 2 жыл бұрын
@@NybblesandBytes Hi June. There is nobody explaining CPU operations like you do. You put it in simple terms for ordinary folk like me. I used to think that this stuff was hard but you explain how a processor reads memory, put things into memory, and add things to memory. Turns registers on and off. I need to watch your episodes again and again for it to make sense. I watched your live cast but it was above me. I only just discovered your series and I've gotta say there is nobody else on KZbin who's explaining the operation of a commodore 64/128 better. Cool beans.
@cjh0751
@cjh0751 2 жыл бұрын
Hi June. I'm so sorry to bother you again, but what is your intro music called. I think it's amazing. Where can I find it?
@NybblesandBytes
@NybblesandBytes 2 жыл бұрын
@@cjh0751 Just be patient and methodical at trying to understand, like the way a CPU behaves -- if you have any questions, feel free to ask. You should also probably join the Discord; there's lots of folks in there that can help with your understanding as well. Super glad you're enjoying the series! :D
@NybblesandBytes
@NybblesandBytes 2 жыл бұрын
@@cjh0751 It's called "Power Up!" by Jeremy Blake, and it's part of his KZbin free library. I think I use the middle-part of the song for the intro, and then switch to the B-part in the outtros.
@AccountWasHacked
@AccountWasHacked 4 жыл бұрын
Never knew you worked for Google.
@2GFactFinder
@2GFactFinder 5 жыл бұрын
Please remove bgm
@NybblesandBytes
@NybblesandBytes 5 жыл бұрын
@Ravi Chandran Noted.
@tomsku69
@tomsku69 5 жыл бұрын
Someday someone might invent "mute the background music" button to YT videos. However I didn't notice bgm before somebody mentioned it :P :P
@2GFactFinder
@2GFactFinder 5 жыл бұрын
Tomi Halonen Wow.... You have given a good clue to software developers to add a functionality to mute bgm or not option while recording and playing back.
@NybblesandBytes
@NybblesandBytes 5 жыл бұрын
@Tomi Halonen I may try a video without BGM for Ep3. These songs do get a bit long in the tooth at times, and I am looking for music that doesn't include human voices to help even out the problem. While Jeremy Blake's tracks are great, he has a penchant for edited human voice, which is super annoying. I still want the video to have a pace, though, and BGM is a great way to ensure things keep moving. It's a hard balance to achieve. What I don't want this to become is raw tech speech with some video added in -- that's a fast way to turn folks completely off. Even 3blue1brown -- who talks about far more complicated topics than I do -- has BGM. Thing is, I've edited the BGM down to -20dB in this video, with equalization in the 1kHz range down to an additional -20dB. My voice regularly stays at around ~-6dB on FCPX's audio meters, peaking to ~0dB. Plus, I *always* master the audio wearing studio-quality monitoring headphones with a flat response rate. The end result is that it should be easy on the ears, overall. Unless you're using headphones and turn up the overall volume, you shouldn't hardly hear it on a modern audio system, or even a computer.
@2GFactFinder
@2GFactFinder 5 жыл бұрын
Nybbles and Bytes Yes you are right. But still bgm is unwanted in educational videos. But I appreciate your great explanation. Thanks.
Nybbles and MouseBytes: Ep3: Comparison Instructions
5:08
Nybbles and Bytes
Рет қаралды 2,3 М.
Nybbles and MouseBytes: Ep5: Bit Shifting and Logic Instructions
16:23
Nybbles and Bytes
Рет қаралды 3,5 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 12 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 11 МЛН
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 829 М.
Nybbles and MouseBytes: Ep6: Jump and Subroutine Instructions
11:31
Nybbles and Bytes
Рет қаралды 4,1 М.
HOW TRANSISTORS REMEMBER DATA
16:58
Core Dumped
Рет қаралды 306 М.
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 399 М.
6502 Assembly Language Programming #14: Addressing Modes
50:28
Aaron Baugher
Рет қаралды 647
Nybbles and MouseBytes: Ep4: Branching Instructions
6:39
Nybbles and Bytes
Рет қаралды 2,9 М.
What's The Longest Word You Can Write With Seven-Segment Displays?
8:56
Fixing a Bug in Rodnay Zaks' "Programming the 6502"
43:38
8-Bit Show And Tell
Рет қаралды 22 М.
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 279 М.
N&B Live at VCFSW 2023
27:19
Nybbles and Bytes
Рет қаралды 10 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 12 МЛН