Online Assembler

Hi,

Has anyone tried this?

clrhome.org/asm/

I tried building the example to a .tap file, saving it and loading it into an emulator, but it does not seem to load.

Thanks

Comments

  • The Hello World example program is meant for a TI-83 and will not run on a Spectrum.
    Author of Spectrum games, among other things...
  • On the build menu there an option for Spectrum .tap
  • edited April 2016
    On the build menu there an option for Spectrum .tap
    All that's doing is putting the TI-83 program into a Spectrum tape. It's still making TI-83 calls that are incompatible with the Spectrum hardware.
    Post edited by PROSM on
    Author of Spectrum games, among other things...
  • edited April 2016
    This seems to indicate it produces Spectrum compatible code?

    worldofspectrum.org/forums/discussion/39512/redirect/p1
    Post edited by jonesypeter on
  • You should click on the help button (the '?' on the right hand side of the screen) for more info.

    This little code snippet will print "Hello world! " at 2,2 (followed by the number 0 as that is loaded into the BC register pair before the code returns to BASIC). Build this as a .TAP and it should run fine on a Spectrum.
    .org        $5cd2
    
        ld  hl, Message
    next: 
        ld  a,(hl)
        or	a
        jr  z,done
        rst 10h
        inc hl
        jr  next
        
    done:
        ld  bc,0
        ret
        
    Message:
    .db         22,2,2,"Hello world! ",0
    
  • Thanks cmonkey for the answer.
Sign In or Register to comment.