[zxspectrum] Re: ZX Coding competition

  • From: Enrico Maria Giordano <e.m.giordano@xxxxxxxxxxxxxxx>
  • To: zxspectrum@xxxxxxxxxxxxx
  • Date: Thu, 23 Oct 2003 10:39:15 +0200


Stefano wrote:
> 
> Per quanto riguarda la conversione di un numero in virgola mobile in intero
> bastano solo queste 2 istruzioni?
> 
>       ; convert floating point number into an integer
>       ; input - floating point number in DEHL
>       ; output - integer, in A
>       ld a,42
>       ret
> 
>       ; they never said it had to be the *same* integer... ;-)

:-)))

EMG

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

Other related posts: