You might want to explain what it is you exactly want to to, a little more detailed... --Peter-Martijn > > > thanks that worked but i have another problem when i decrement the number in > A it gives me 255 all the time after the first number which is three this is > what i do: > ld hl,A > dec (hl) > A: .db 0h > shouldnt that work should, A not be a hex number? > >