[zxspectrum] Re: Re[2]: compito in classe

  • From: Enrico Maria Giordano <e.m.giordano@xxxxxxxxxxxxxxx>
  • To: zxspectrum@xxxxxxxxxxxxx
  • Date: Tue, 10 May 2016 11:19:37 +0200



Il 10/05/2016 08:16, Paolo Ferraris ha scritto:

Forse questo funziona?

LD D,A
AND 15   ; low
LD E,A
LD A,D
XOR E    ; high x 16
SRL A    ; high x 8
LD D,A
SRL A    ; high x 4
SRL A    ; high x 2
ADD A,D  ; high x 10
ADD A,E  ; high x 10 + low

Chiedo scusa, non ho a portata di mano l'assembler per provarlo.

Sembra di sì.

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

Other related posts: