Search found 28 matches
- Mon Oct 14, 2019 8:18 am
- Forum: General Z80 Programming
- Topic: Z80 Registers
- Replies: 3
- Views: 5350
Re: Z80 Registers
Thanks for the correction on BC. So BC is used for ByteCount when used with LDIR and B is used on it's own as a loop count with DJNZ. Some really weird head scratchers whilst working with assembly. This is my first time trying to work with it. It's nothing like the other languages i know (PHP, MYSQL...
- Fri Oct 11, 2019 2:23 pm
- Forum: General Z80 Programming
- Topic: Z80 Registers
- Replies: 3
- Views: 5350
Z80 Registers
Hi hi, I'm trying to understand what each register in the z80 does and how it can be used. I made the following table and wondered if anyone could point out any errors/or updates that could be made to it. Label Size (bit) Note A 8 Accumulator. Used for all the calculations. (can be used with F) F 8 ...
- Tue Oct 08, 2019 1:00 pm
- Forum: General Z80 Programming
- Topic: Video: Lesson 3 - 'Case Statement' , 8 bit basic Maths, Writing to Ram and Reading from basic
- Replies: 3
- Views: 8619
Re: Video: Lesson 3 - 'Case Statement' , 8 bit basic Maths, Writing to Ram and Reading from basic
Thanks for checking that over. I'll continue the videos and hopefully I understand enough to start making my own programs eventually.
- Mon Oct 07, 2019 3:46 pm
- Forum: General Z80 Programming
- Topic: Video: Lesson 3 - 'Case Statement' , 8 bit basic Maths, Writing to Ram and Reading from basic
- Replies: 3
- Views: 8619
Re: Video: Lesson 3 - 'Case Statement' , 8 bit basic Maths, Writing to Ram and Reading from basic
Hi, I was getting a bit confised because of the use of a b and c being used in BASIC and asm. So i've written this out and changed the BASIC to VAL1 VAL2 and FUNCT instead of a,b and c. I've also written out how i've interperited the asm code. Have I got it correct? I'm not too sure about the MathDi...
- Mon Oct 07, 2019 1:13 pm
- Forum: General Z80 Programming
- Topic: Video: Lesson 2 - Memory copy, Symbol definitions, Loops and Conditional Jumps!
- Replies: 3
- Views: 8444
Re: Video: Lesson 2 - Memory copy, Symbol definitions, Loops and Conditional Jumps!
Many thanks for confirming. Slowly but surely I'm getting there. I wrote my first 'complicated' BASIC program last week, so i'm hoping to convert it into ASM + BASIC to make it run a bit faster. Then i'm hoping to make it look much better and easier to use. i.e. just using the arrow keys on the keyb...
- Mon Oct 07, 2019 11:22 am
- Forum: General Z80 Programming
- Topic: Video: Lesson 2 - Memory copy, Symbol definitions, Loops and Conditional Jumps!
- Replies: 3
- Views: 8444
Re: Video: Lesson 2 - Memory copy, Symbol definitions, Loops and Conditional Jumps!
Hi hi, I've been going over these first video's again and I have a question about the LDIR command. When using it in the small program you made in this video: org &8000 - we're setting the location of the program ld hl,&0000 - we're loading &0000 as the source address (beginning of RAM(?...
- Sat May 04, 2019 12:26 pm
- Forum: General Z80 Programming
- Topic: A bit of Fun? running a Z80 from a breadboard!
- Replies: 3
- Views: 8367
Re: A bit of Fun? running a Z80 from a breadboard!
I've been looking into Ben Eaters 8-bit breadboard computer. So far i've made the CPU clock and thats it haha!
- Sat May 04, 2019 9:57 am
- Forum: Introductions
- Topic: Hola from Sunny Scotland
- Replies: 3
- Views: 5143
Hola from Sunny Scotland
Hi all, For a change that "sunny Scotland" isn't sarcasm as it is actually sunny here today. Anyhoo. I'm here in the hopes to share my learning of z80 ASM (and maybe some more once i've managed to make a few things for that) and ask questions when I get stuck, which (I foresee) will be fre...