Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Stupid Z80 asm question

Reply to topic
Author Message
NeoZeed
  • Guest
Reply with quote
Stupid Z80 asm question
Post Posted: Thu Jun 29, 2000 6:24 am
Hello there,

I've started learning the z80 asm and i can figure out if there's a MOD like operation ? Or do i've to do it myself

thanks in advance

NeoZeed

 
  • Joined: 24 Jun 1999
  • Posts: 1732
  • Location: Paris, France
Reply with quote
Post Posted: Thu Jun 29, 2000 8:10 am
Quote
> I've started learning the z80 asm and i can figure out if there's a MOD like operation ? Or do i've to do it myself

No there is not, there is no division either.
You have to rewrite it, but else in the case of power of two you can easily do it with AND masking.
  View user's profile Send private message Visit poster's website
neozeed
  • Guest
Reply with quote
Post Posted: Thu Jun 29, 2000 10:45 am
Quote
> > I've started learning the z80 asm and i can figure out if there's a MOD like operation ? Or do i've to do it myself

> No there is not, there is no division either.
> You have to rewrite it, but else in the case of power of two you can easily do it with AND masking.

Thanks, i'll look if i can use that way ;)

By the way, do you have tried Past-o-Rama ?
 
Reply to topic



Back to the top of this page

Back to SMS Power!