Earlier quoted context omitted.
I don't know. I heard about nibbles right at the beginning and then promptly forgot them. I even remember thinking that the word was silly. But it set me up for a very nice epiphany the first time I saw bytes written as hex and played a part in my instantly grasping that.
I'd be curious to poll people's experiences, but, I can say that I had never heard the term until today and I've known this stuff for a number of years. And it sounds silly and adds nothing. That too. (edit: my education on this stuff was in the 00's. Sounds like it was more common in the 80s. I'd definitely support obsoleting the term entirely now, though! It adds unnecessary complexity.)
Simple CPU
41–50 of 65 posts
Re: Simple CPU
#42I thought this was pretty clever: 00000001 A program that doesn't work if you move its location in memory is pretty hilarious.
Re: Simple CPU
#43It's very similar to Charles Petzold's "CODE" book. An excellent read. http://www.charlespetzold.com/code/
Re: Simple CPU
#44Earlier quoted context omitted.
I don't know. I heard about nibbles right at the beginning and then promptly forgot them. I even remember thinking that the word was silly. But it set me up for a very nice epiphany the first time I saw bytes written as hex and played a part in my instantly grasping that.
I'd be curious to poll people's experiences, but, I can say that I had never heard the term until today and I've known this stuff for a number of years. And it sounds silly and adds nothing. That too. (edit: my education on this stuff was in the 00's. Sounds like it was more common in the 80s. I'd definitely support obsoleting the term entirely now, though! It adds unnecessary complexity.)
That was last year, I also got the impression that he liked to fill likely gaps that he could do with small detours.
Re: Simple CPU
#45This is awesome. "You can scroll through memory as well" --> Would be nice to have a scroll-bar because I missed this at first and wondered why there were only 6 bytes of memory. (Would also be nice to see a bit more of the memory at once, although then the instructions might be easy to miss. Maybe a "show more memory" check-box?) Would also definitely be nice to reset / modify the instruction pointer. And of course…
Re: Simple CPU
#46Earlier quoted context omitted.
I don't know. I heard about nibbles right at the beginning and then promptly forgot them. I even remember thinking that the word was silly. But it set me up for a very nice epiphany the first time I saw bytes written as hex and played a part in my instantly grasping that.
I'd be curious to poll people's experiences, but, I can say that I had never heard the term until today and I've known this stuff for a number of years. And it sounds silly and adds nothing. That too. (edit: my education on this stuff was in the 00's. Sounds like it was more common in the 80s. I'd definitely support obsoleting the term entirely now, though! It adds unnecessary complexity.)
Re: Simple CPU
#47The memory scrolling doesn't work in FF - you can only see the initial 6 locations... And he's fixed that. Awesome! Also - it would be very neat to have a "reset" on the Instruction Pointer, so that you don't have to refresh the current page if you want to start your program over...
Re: Simple CPU
#4800000011
00000100
00000000
00000001
Looking at this, I expected that it would read line one, then move the value addressed by line two to the value addressed by line three. i.e. set the instruction pointer to 00000001. This didn't work. What did was:
00000000
00000000
00000000
00000011
00000111
00000000
00000001
This program advances to line 4 then remains there. Could someone explain why program two is an infinite loop, but program one isn't? Thanks!
Re: Simple CPU
#49Re: Simple CPU
#50I was attempting to create the most simple infinite loop that I could, and found that the instructions do not work in the way that I thought they would. Here are a couple programs I wrote. If someone could explain why they work the way they do..? 00000011 00000100 00000000 00000001 Looking at this, I expected that it would read line one, then move the value addressed by line two to the value addressed by line three.…
The problem is that it moves that value into the instruction pointer, then the instruction pointer increments itself by 3.
the instruction pointer always increments itself by 3 after every instruction.