World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.019s
<1…16171819202122…34>
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... /> [CODE]LD HL,4000h
    LD DE,4001h
    LD (HL),FFh
    HL), then you use LDIR to copy (HL) to (DE). LDI automatically increases HL ... & DE, decreases BC ...
    RetroTechie RetroTechie August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... ]INC HL
    DEC D
    JR NZ,FA
    PUSH DE ...
    LD DE,0008
    ADD HL,DE
    POP DE
    DEC ... DE
    LD DE,0017
    AND A
    SBC HL,DE
    POP DE ... DE
    LD DE,0017
    AND A
    SBC HL,DE
    POP DE ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... DE,2048d ; Load 2048 in to DE 110008
    ADD HL,DE ; ADD DE to HL ... 19
    POP DE ; Restore DE D1
    SBC HL,DE ; Subtract 5888d from address ... ED52
    POP DE ; Restore DE D1
    CPL ; ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... DE,2048d ; Load 2048 in to DE 110008
    ADD HL,DE ; ADD DE to HL ... 19
    POP DE ; Restore DE D1
    SBC HL,DE ; Subtract 5888d from address ... ED52
    POP DE ; Restore DE D1
    CPL ; ...
    Fikee Fikee August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... DE,2048d ; Load 2048 in to DE 110008
    ADD HL,DE ; ADD DE to HL ... 19
    POP DE ; Restore DE D1
    SBC HL,DE ; Subtract 5888d from address ... ED52
    POP DE ; Restore DE D1
    CPL ; ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... DE,2048d ; Load 2048 in to DE 110008
    ADD HL,DE ; ADD DE to HL ... 19 ****** THIS IS WRONG
    POP DE ; Restore DE D1 ... carry flag A7
    SBC HL,DE ; Subtract 5888d from address ED52 ...
    Fikee Fikee August 2010 Sinclair Basic
  • Using the stack to copy memory blocksA [b]PUSH[/b] and a [b]POP[/b] instruction together take less time than two [b]LDI[/b], so long [b]POP/PUSH[/b] sequences are sometimes used to copy …

    ... /> add hl, de ;11
    ld (sp3 +1), hl ;16
    add hl, de ;11 ...
    ld (sp5 +1), hl ;16
    add hl, de ;11 ...
    ld (sp7 +1), hl ;16
    add hl, de ;11 ...
    Fikee Fikee August 2010 Development
  • BITWISE operators...Hi Folks, Another question - is there a way (fast) to do bitwise operations in Sinclair BASIC? Many thanks Paddy

    ... ORG start_address
    LD HL,(23563) ;DEFADD address of ... /> INC HL
    INC HL
    INC HL
    INC HL
    ... LD B,(HL) ... ;B holds first parameter in FN
    LD DE ... ,$0008
    ADD HL,DE
    LD A,(HL) ;A ...
    GReW GReW August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... DE,1792d ; Load 1792 in to DE 110007
    220 ADD HL,DE ; ADD DE ... to HL 19
    230 POP DE ; Restore DE D1< ... flag A7
    290 SBC HL,DE ; Subtract 5888d from address ED52 ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... and I found the "HL=HL*DE" subroutine at 30A9. Am ... two values stored in HL and DE and return the ... result in HL?

    If ... br /> [CODE] LD HL,5d
    LD DE,6d
    CALL 30A9 ... This would return 30d in HL?

    I ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... c,30
    ld de,100
    ld hl,0
    rl ... /> adc hl,hl
    sbc hl,de
    jr nc,$+3
    add hl,de
    HL.

    Paddy
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... c,30
    ld de,100
    ld hl,0
    rl ... /> adc hl,hl
    sbc hl,de
    jr nc,$+3
    add hl,de
    HL.

    Paddy[/QUOTE]
    HL

    Add
    LD ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... /> adc hl,hl ; ...
    sbc hl,de ; ...
    jr nc,$+3 ; ...
    add hl,de ; ...
    adc hl,hl ; ...
    sbc hl,de ; ...
    jr nc,$+3 ; ...
    add hl,de ; ...
    Winston Winston August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    This is how to repeat a block of code 16 times in the Spin assembler.

    [code]
    REPT 16
    rl c
    rla
    adc hl, hl
    sbc hl, de
    jr nc, $+3
    add hl, de
    ENDR
    [/code]
    FrankT FrankT August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... /> dump 40000

    ld hl,156 ; value to divide
    sbc hl,de ; try subtract high divisor from ... while it can
    add hl,de ; undo last subtraction
    dec ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... /> dump 40000

    ld hl,156 ; value to divide
    sbc hl,de ; try subtract high divisor from ... while it can
    add hl,de ; undo last subtraction
    dec ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... /> dump 40000

    ld hl,156 ; value to divide
    sbc hl,de ; try subtract high divisor from ... while it can
    add hl,de ; undo last subtraction
    dec ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... /> dump 40000

    ld hl,156 ; value to divide
    sbc hl,de ; try subtract high divisor from ... while it can
    add hl,de ; undo last subtraction
    dec ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Founder of SPC in hospitalThe founder of the Spectrum and SAM Profi Club K?ln, Wolfgang Haller,is struck by a brain haemorrhage and operated in a Cologne hospital. He is kept…

    ... .com/images?um=1&hl=de&safe=off&q ...
    XTM of TMG XTM of TMG August 2010 Sinclair Miscellaneous
  • Founder of SPC in hospitalThe founder of the Spectrum and SAM Profi Club K?ln, Wolfgang Haller,is struck by a brain haemorrhage and operated in a Cologne hospital. He is kept…

    ... .com/images?um=1&hl=de&safe=off&q ...
    Dr BEEP Dr BEEP August 2010 Sinclair Miscellaneous
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... carry as the ADD HL,DE above the SBC HL,DE will already have ...
    AND A
    SBC HL,DE
    [/code]
    Could be ... /> [code]
    LD DE,-32
    ADD HL,DE
    [/code]

    Chris Pile Chris Pile September 2010 Sinclair Basic
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... HL ; save address
    LD A, (IX+13) ; attribute
    LD DE ... br /> BLPaintWidthExitLoop:
    POP HL ; recover our left edge

    ADD HL,DE ; move 32 down
    ...
    Gedlion Gedlion September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ROW j INDEX
    add hl,de ; ROW j ADDRESS
    ... ROW t INDEX
    add hl,de ; ROW t ADDRESS
    ... ROW t INDEX
    add hl,de ; ROW t ADDRESS
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... DEFADD workspace, putting them in HL & DE respectively. Other called routines ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ...
    ; ------------

    ld hl,22528 ; Attribute address
    ld ... h,0
    add hl,de ; HL points into sprite frame table ... ld e,(hl)
    inc hl
    ld d,(hl) ; DE = address of ... /> inc de
    xor a,(hl)
    ld (hl),a
    ASM ASM October 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... hl

    ld hl, beep_table ;aligned on b
    add hl, de< ... br /> ld e, (hl) ;parameter 1
    add_beep

    ld de, (beep_ptr)
    ld c, 255 ... add_beep0
    ld a, (de)
    cp (hl) ;compare priority
    ...
    Fikee Fikee November 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... print
    ; On exit, A/DE/HL corrupted

    CHARS EQU ... /> ADD HL,HL
    ADD HL,HL
    ADD HL,HL ; HL=char*8
    ADD HL,DE ; HL=> ... /> MTXLP LD A,(HL) ; Get pixel line
    LD (DE),A ; Store ...
    Jonathan Harston Jonathan Harston November 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> ; On exit, A/BC/DE/HL corrupted

    CHARS ... ADD HL,HL
    ADD HL,HL
    ADD HL,HL ; HL=char*8
    ADD HL,DE ; HL=> ... MTXLP LD A,(HL) ; Get pixel line
    LD (DE),A ; ... Store in screen
    INC HL ; Step ...
    Jonathan Harston Jonathan Harston November 2010 Development
  • Override AUTOLINE start?Hi there, Is there a poke that prevents a BASIC program from auto running, when it was previously saved with the LINE command? Cheers, Steve

    ... BASIC program area
    dec hl ; HL now points at the last ... MAKE-ROOM
    ld hl, (l_5c53) ; HL = PROG. We set VARS ... program area otherwise).
    add hl, de ; Length of BASIC is at ... to load
    ld de, (l_5b56) ; DE = length of BASIC block ...
    stefrobb stefrobb November 2010 Sinclair Basic
  • Override AUTOLINE start?Hi there, Is there a poke that prevents a BASIC program from auto running, when it was previously saved with the LINE command? Cheers, Steve

    ... BASIC program area
    dec hl ; HL now points at the last ... MAKE-ROOM
    ld hl, (PROG) ; HL = PROG. We set VARS ... program area otherwise).
    add hl, de ; Length of BASIC is at ... block to load
    ld de, (TOT_LEN) ; DE = length of BASIC block ...
    stefrobb stefrobb November 2010 Sinclair Basic
<1…16171819202122…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
ex 4.4K 7K
hl 6.2K 48K
de 9.7K 27.3K

Related Threads

  • deus ex and deus ex invisible war ?3 on steam.Just downloading these two games at the mo. I think there are a few fans of these games on here, if you want to grab em there cheap on steam at the m…
  • Sort 2 byte words (x, y) on ypos, also question about swap (DE), (HL)Well that was a lot of debugging ;)<br /> <br /> But if you want a routine which takes an array of 16 byte words x, y and then sort them on y (igno…
  • Deus Ex MachinaAm I the only person who loved Deus Ex Machina on the speccy?<br /> Just wondering.<br /> <br /> I've even got the soundtrack that i downloaded as mp…
  • Music on Tour de Force (Gremlin)Has this game really a music somewhere ?<br /> Perhaps the 48K bzz-bzz at the beginning of any level and/or for game over is considered "music" ?<br …
  • An ex-Bloodwych fanatic speaks...I've got a s**t-load of maps that I carefully (and painstakingly) made back in the day, with the intention of sending them into YS, only for the maga…
  • Scrabble De-luxe dsk image and SpinAnyone else tries loading the disc file of Scrabble De-Luxe into Spin?<br /> All I get is the loading screen keep appearing and disappearing - as if …
  • Anyone here an ex speccy-journalist or programmer?Anyone here used to write for the Spectrum magazines or program the Speccy? Just curious ;)
  • ex-YU homepage updatedThe ex-YU Homepage has been updated, after almost 2 years. Added some really nice new stuff, including some commercial games that were developed by e…
  • Viaje al Centro de la Tierra - questionsI would like to know the following informations about this game:<br /> <br /> 1) What does the title mean in English? I guess that the game is based …

Related Searches

  • ld hl de
  • return to basic hl
  • de spectrum
  • la diosa de cozumel
  • los amores de brunilda
  • call hl
  • viaje al centro de la tierra
  • loading screen viaje al centro de la tierra
  • viaje al centro de la tierra screen
  • en busca de mortadelo
  • escuela de ladrones
  • deus ex machina
  • caf turco com os ex jugoslavos
  • slt format hl
  • 16 bit hl load
  • jp hl
  • ex af carry
  • sub hl de
  • sjasmplus sub hl de
  • ex sp hl

Copyright © 2024 World of Spectrum