I tried looking this up ahead of time just in case someone had already asked. But the search term I used is only two characters long and too short to search.
I'm reading the C128 Assembly Language book and I'm on chapter 7 playing with the A.S program.
The book is using Merlin 128 as the assembler, which I think is a great assembler, but I prefer using CBM PRG Studio, it's got a lot of fantastic features and I'm finding it easy to use, which is great because now I can focus on learning machine language programming and not futzing with old school programming applications.
I've hit a bit of a snag though. I don't know if anyone can help but I figured this was a good place to start.
There's a line of code in the sample I'm playing with that I can't seem to translate from Merlin 128 to CBM Studio.
txtbuf ds buflen
I can't figure out exactly what ds does, and I can't find a pseudo op code in CBM Studio to use in it's place.
The hard part was finding the CBM Studio equivalent pseudo op code.
I ended up asking a friend of mine who has been writing code for a living for more than 25 years. She looked over my code, did a bit of research and found that the equivalent of DS in CBM Studio is BYTES.
My friend also pointed out where I had syntax errors and gave suggestions, she's wisely allowing me to struggle but offering help when I'm completely confused.
I've been writing BASIC code off and on since 1978, I've since learned a few other programming languages but could never wrap my head around assembly language but this time I'm making a concerted effort and I'm more determined than I had been in the past.