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 101 results in 0.000s
<1234>
  • Which is the most technically accurate Spectrum Emulator?Ok, which is the most technically accurate Spectrum Emulator? Please don't just vote but give reasons why.

    ...
    BIT n,(HL)
    CPI
    CPD
    INI
    BIT n,(IY+d)
    CPI
    CPD
    IND
    LDD
    LDIR
    CPI
    CPD
    INI
    rich_chandler rich_chandler June 2009 Emulators
  • The Goldfinch updates thread([url=http://www.worldofspectrum.org/forums/showthread.php?t=25034]original announcement thread here[/url] - I figured it was worth starting a new to…

    ... data byte into checksum
    cpi ; inc hl, dec bc, set ... =330091&postcount=29]the CPI trick[/url] :-)
    gasman gasman September 2009 Development
  • Spin Assembler DirectivesLeading on from [URL="http://www.worldofspectrum.org/forums/showpost.php?p=402514&postcount=65"]jp's recent post in Spin 0.7 Public Testing thread[/U…

    ... : 11+($FFEDB9 shl 8)), (S: 'CPI'; I: 12+($FFEDA1 shl 8 ...
    Dunny Dunny November 2009 Emulators
  • Spin Assembler DirectivesLeading on from [URL="http://www.worldofspectrum.org/forums/showpost.php?p=402514&postcount=65"]jp's recent post in Spin 0.7 Public Testing thread[/U…

    ... : 11+($FFEDB9 shl 8)), (S: 'CPI'; I: 12+($FFEDA1 shl 8 ...
    jp jp November 2009 Emulators
  • Bit functions speedI just stared nonplussed at the documentation for the bit functions. Apparently, if you're using the accumulator, using AND and OR is faster than se…

    ... obvious) is the use of CPI to test if BC is ... this:

    [code]
    cpi
    jp pe, loop ; or ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Development
  • Who would you like to see in 10 and 11 Downing Street...?Okay, so the general election has been called and we've had the final PMQs and things are really kicking off now. Counting in the possibility of a Co…

    ... favourite measure of inflation to CPI that doesn't include housing ...
    RoseCotton RoseCotton April 2010 Chit chat
  • Who would you like to see in 10 and 11 Downing Street...?Okay, so the general election has been called and we've had the final PMQs and things are really kicking off now. Counting in the possibility of a Co…

    ... , which is why we have CPI and RPI inflation measures, isn ... favourite measure of inflation to CPI that doesn't include housing ... /> I think I read that CPI is the main measure in ...
    Shaun.Bebbington Shaun.Bebbington April 2010 Chit chat
  • FMV on +3eOK, so about 6 months ago i posted here that i got full motion video on +3e, with a bunch of scr files called passion. I added the glider rider music…

    ...
    jr nz,deloop
    cpi
    jp pe,loop
    omega omega April 2010 Development
  • The Programmers Development System (PDS)Hi everybody, I recall this system has been mentioned several times on WoS forums. Last time was, I think, when those sources from Maz Spork (Buggy …

    ... with a specific font (ega.cpi, loaded using "mode con codepage ...
    ASM ASM October 2010 Sinclair Miscellaneous
  • world cup in the UK ?personally I don't want to be lining the pockets of fifa "officials" and their "family" much like the Olympic family.. where few of the people who ar…

    ... ://www.transparency.org/policy_research/surveys_indices/cpi/2009/cpi_2009_table[/url]

    Matt_B Matt_B December 2010 Chit chat
  • Recent talk of developing new SpectrumsHi all, I can see from a few threads on here that some Wossers like Vasil and Aien 8 are interested in developing more powerful Spectrums or improvi…

    ... ) : 9C3F failed, expected 3A82
    CPI : 9CCC failed, expected 55DB
    gasman gasman February 2011 Hardware
  • Port 254 emulation problem. Help, please ...Sorry, but my english is not pepfect. I have a problem and need in professional help. I have developed hard-soft emulator of ZX Spectrum 48. The link…

    ... IN A,(n) instruction:
    CPI XH,0X40 ; test if the ...
    Vasil Vasil June 2011 Emulators
  • Thinking in Assembly (first efforts)The following is one small routine to educate myself on a few concepts (jumps, flow control, routines, CPI): [code]searchmem xor a …

    ... the entire memory
    .search cpi ; a-(HL)
    jr z ... the entire memory
    .search cpi ; a-(HL)
    ret po ...
    Einar Saukas Einar Saukas July 2011 Development
  • automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …

    ... (R)
    LDD(R)
    CPI(R)
    CPD(R)
    Dr BEEP Dr BEEP August 2011 Development
  • Kobrahsoft DB1 - doesn't work?Hi, I've tried loading [URL="http://www.worldofspectrum.org/infoseek.cgi?regexp=^DB1$&pub=^Kobrahsoft$&loadpics=3"]DB1 by Kobrahsoft[/URL] into two …

    ... DE, HL ; 803E EB
    CPI ; 803F ED A1
    EX ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... repeat until BC=0.
    CPI Compare location (HL) and acc ... BC.
    CPIR Perform a CPI and repeat until BC=0 ...
    Ralf Ralf October 2011 Development
  • playing sound samples from Boriel's zxbasic-compilerfirst of all, sorry if it sounds confusing if i'm posting this thread here instead instead of at Discussions:SinclarBasic it's because this is more …

    ... /> 04 exx

    16 cpi ; hl++, bc--, p/v flag ...
    Alcoholics Anonymous Alcoholics Anonymous October 2011 Development
  • Good character sets ?Just wondering if anyone had any favourite character sets ? :) The one in SE basic is quite nice and I'm aware (I used to have it in my head I'm sur…

    ... =http://www.seasip.info/DOS/CPI/]GSANS and TSANS[/url].
    CPI/gsans.png[/img]

    CPI/tsans.png[/img]

    John Elliott John Elliott July 2012 Sinclair Miscellaneous
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... in level
    candles2:
    cpi
    jp po,candlesend
    LCD LCD November 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... in level
    candles2:
    cpi
    jp po,candlesend
    candles2:
    cpi
    jr nz,candles3
    Einar Saukas Einar Saukas November 2012 Development
  • Machine code loopsDear all, 30 years too late I know, but I'm finally starting to get to grips with Machine Code - something I could never manage back in my early tee…

    ...
    ;(some kinda code)
    cpi ;or cpd, respectively
    jp ...
    Hikaru Hikaru June 2013 Development
  • Machine code loopsDear all, 30 years too late I know, but I'm finally starting to get to grips with Machine Code - something I could never manage back in my early tee…

    ...
    ;(some kinda code)
    cpi ;or cpd, respectively
    jp ... such an ingenious use of CPI/CPD before. This is one ...
    TK90XFan TK90XFan June 2013 Development
  • Relocation with SDCCI desperately need auto- relocation with SDCC. Something that will compile all of my code using start address 0 and generate relocation table so that…

    ... ,(hl) ; remember current char
    cpi
    jr z, match ; found ... /> match:

    dec hl ; cpi stepped hl one past last ...
    Alcoholics Anonymous Alcoholics Anonymous June 2013 Development
  • Fantasy Z80 instructions?This follows on from something catmeows said in another thread, and that I've been meaning to ask for a while. This may sound daft to people with mo…

    ... did was eliminate the CPIR/CPI instructions. Their reason was "they ...
    Alcoholics Anonymous Alcoholics Anonymous June 2013 Development
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... bc ; restore byte counter
    cpi ; advance source pointer and decrement ...
    stephenw32768 stephenw32768 August 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... addresses in HL: use the CPI instruction, which performs a comparison ... :
    ld (hl), 62
    cpi
    jp pe, loop
    gasman gasman October 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... :
    ld (hl), 62
    cpi
    jp pe, loop
    ld (hl), d
    cpi
    jp pe, loop
    David Jones David Jones October 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    Very clever use of CPI to do the loop there!

    *Notes it down for future reference*
    Arjun Arjun October 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    [QUOTE] ld hl, 16384
    ld bc, 1024
    loop:
    ld (hl), 62
    cpi
    jp pe, loop
    ret[/QUOTE]

    Great trick!
    I've never used CPI in my life before.
    But I guess I'll be using it now :)
    Ralf Ralf October 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... neither uses our new friend CPI/CPD.

    [CODE]21FF43 ...
    jamorski jamorski October 2013 Development
<1234>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 4:10PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
cpi 101 164

Related Threads

  • CPI emulationI'm currently writing Sinclairean's emulation assembly for the CPI/CPD/CPIR/CPDR instruction group. Does anybody know what exactly the behavior of th…

Related Searches

  • cpi copy
  • cpi ld a b or c
  • cpi ldecrement bc
  • cpi decrement bc
  • cpi ldecrement bc chris pile
  • cpi chris pile
  • cpi trick

Copyright © 2024 World of Spectrum