NeoZeed
|
Stupid Z80 asm question
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
|
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.
|
neozeed
|
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 ?
|