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.007s
<1234567…34>
  • Question on Z80 R/W cycles.Snipped from the complete spectrum ROM disassembly: [CODE] Now the memory is checked. 11DA RAM-CHECK LD H,D Transfer the value…

    ... decreases it. I presume the zero flag is set then, before the ... re-read again and the zero flag set accordingly.

    I ... test that the memory holds zero after it is decremented ? it ...
    zub zub August 2007 Sinclair Miscellaneous
  • Question on Z80 R/W cycles.Snipped from the complete spectrum ROM disassembly: [CODE] Now the memory is checked. 11DA RAM-CHECK LD H,D Transfer the value…

    ... ) will fail to set the zero flag, because it'll be decrementing ...
    Winston Winston August 2007 Sinclair Miscellaneous
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    XOR A ; Clear Carry flag and zero A
    SBC HL,DE ; Compare HL and DE
    OR H
    OR L
    JP Z,match ; Zero flag will be set if HL=DE
    AndyC AndyC September 2007 Development
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    ... ;213114]XOR A ; Clear Carry flag and zero A
    SBC HL ... L
    JP Z,match ; Zero flag will be set if HL ...
    Dr BEEP Dr BEEP September 2007 Development
  • Whats Gone Wrong - Pixels Everywhere!Changed one small piece of code, that doesnt do anything to the screen and the following has happened: [img]http://www.officetrack.com/download/wos/…

    ... problem is unexpected carry or zero flag set on when increasing A ...
    Ralf Ralf September 2007 Development
  • Changing the colour of the loading 'stripes'I was wondering if it were possible to alter the default colours of the standard ROM loading 'stripes' via BASIC, mabye a POKE command of some descri…

    ... INC D This resets the zero flag..[/code]

    11 instructions ...
    BloodBaz BloodBaz November 2007 Sinclair Basic
  • problem using FRAMES to generate 'random' numbersI realise the pros use bytes from ROM to get their random numbers, presumably because they want to use FRAMES to synchronise the printing and avoid s…

    ... as 'and 1' sets the zero flag. But why use jr nz ...
    bigjon bigjon March 2008 Development
  • problem using FRAMES to generate 'random' numbersI realise the pros use bytes from ROM to get their random numbers, presumably because they want to use FRAMES to synchronise the printing and avoid s…

    ... as 'and 1' sets the zero flag. But why use jr nz ...
    Dr BEEP Dr BEEP March 2008 Development
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... set from the mask? The zero flag should be set from (mem ... set either N or Z flag value, and decides by checking ... they only affect the Z flag there's almost no ... . The combined N/Z flag handling hasn't been a ... should only affect the Z flag. This doesn't seem ...
    obo obo August 2008 Sinclair Miscellaneous
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... set from the mask? The zero flag should be set from (mem ...
    Dr BEEP Dr BEEP August 2008 Sinclair Miscellaneous
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... of the instruction sets the zero flag if all set bits in ... give 00010010, which is not zero, so Z would be clear ...
    obo obo August 2008 Sinclair Miscellaneous
  • Interlace demoSorry to reference another thread like this, but in the thread: [url]http://www.worldofspectrum.org/forums/showthread.php?p=313428#post313428[/url] …

    ... the snapshot, open debugger, set zero flag, close the debugger and continue ...
    Woody Woody November 2008 Sinclair Miscellaneous
  • Machine code help pls: LDI example[deleted]

    ... instruction only sets/resets the zero flag according to the result of ... c later, to force the zero flag to consider the C register ... , which doesn't touch the zero flag either. (Or you can just ...
    gasman gasman December 2008 Development
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    ... Z flag when the BC register pair reaches zero, you ... OR will set the zero flag (because the result of ... operation will not set the zero flag.

    Again, ... ; This tests whether A is zero
    ret z
    zero flag being set, so RET ...
    Winston Winston January 2009 Sinclair Basic
  • The F register unused bitsI'm doing some reading and trying to organize my Spectrum ML apprenticeship and while looking in greater detail at the flag register one question pop…

    ... F registers are carry and zero flag (maybe parity also can be ...
    Ralf Ralf January 2009 Development
  • Clearing the Carry flagI'm reading that sometimes I may want to clear the carry before using ADC or SBC. A simple AND A or OR B will do. However, as I see it, for 8-bit ar…

    AND A changes the zero flag as well.

    You ... specially to deal with carry flag.

    SCF - set carry ... flag
    CCF - change carry flag

    There ... an instruction to unset carry flag but if you execute
    Ralf Ralf January 2009 Development
  • Clearing the Carry flagI'm reading that sometimes I may want to clear the carry before using ADC or SBC. A simple AND A or OR B will do. However, as I see it, for 8-bit ar…

    ... , and A is zero, AND A will set the zero flag - and will ... to test whether A is zero. Even if you intend for ...
    Winston Winston January 2009 Development
  • Back to Skool disassemblyAs mentioned in [url="http://www.worldofspectrum.org/forums/showthread.php?t=22841"]this thread[/url], I've been working on a disassembly of Back to …

    ... ]
    That's because the zero flag is set (by chance) upon ...
    SkoolKid SkoolKid July 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ...
    and a ; is A zero?
    ret z ; return if ... of an AND operation is zero, the zero flag gets set. So effectively ... test whether A is zero or non zero faster and with less ... 'll always get the result zero. Again, XOR A takes 1 ...
    Winston Winston December 2009 Development
  • lol cat lives ?Had this pic for a while, just had a quick text change to something more speccy appropriate. [IMG]http://img.photobucket.com/albums/v294/yellow_spid…

    ... A will already set the Zero-flag.
    Dr BEEP Dr BEEP January 2010 Chit chat
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... check the status of the zero flag, which seems a bit kludgy ...
    xyzzy xyzzy January 2010 Development
  • Obfuscated code ideaThe instructions [b]SUB A[/b] and [b]XOR A[/b] both have the effect of setting the accumulator to zero. The only difference between them is that [b]…

    ... forgot that when you have zero, the zero flag [I]isn't[/I ... ] zero.

    [quote](my emulator ... use of the P/V flag.
    ajmoss ajmoss June 2010 Development
  • 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…

    ... operation doesn't affect the zero flag. Only the 8-bit operations ... , and that would set the zero flag. But there are more efficient ...
    joefish joefish August 2010 Sinclair Basic
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    ... needed, dec will also set zero flag when a becomes 0
    Dr BEEP Dr BEEP September 2010 Development
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    ... but will still set the zero flag if A=0. This is ... instruction will also set the zero flag if A=0 at the ...
    Matt_B Matt_B September 2010 Development
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    ... but will still set the zero flag if A=0. This is ... instruction will also set the zero flag if A=0 at the ...
    Dr BEEP Dr BEEP September 2010 Development
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... ]inc (hl)[/B] sets the zero flag and if [B]ld (hl ...
    Rickard Rickard October 2010 Development
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... ]inc (hl)[/B] sets the zero flag and if [B]ld (hl ...
    Patrik Rak Patrik Rak October 2010 Development
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 9:50AM
  • Cooperative Games.
    harriusherbartio on 9:27AM
  • Happy 40th Birthday to the Amstrad CPC464!
    zx1 on 9:02AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Celebrity deaths...
    mel the bell on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
zero 5.2K 7.1K
flag 3K 4.8K

Related Threads

  • Five Zero Zero Zero!!!Yippee! Woo Hoo!!! and so on...<br /> <br /> :D :D :D :D :D<br /> <br /> Necros.
  • RLD - zero-flag resultI have very rarely found need to use the RLD instruction, well, actually just this once, but everything I can find on it says that the zero-flag is s…
  • Zero 0.7 / Zero 0.6.5 releasedAfter months of grueling work, I?m proud to announce the Vanilla version of Zero, which is a regular Windows version of the emulator. I?ve tried to m…
  • Interface Zero joystick interfaceHello<br /> <br /> I just built a joystick interface with instructions I found from Your Sinclair ( [url="http://www.users.globalnet.co.uk/~jg27paw4/…
  • Outrun vs Chequered FlagIn the latest issue of Retro Gamer its stated that Out Run was the first racer to have undulating hills etc. I reckon Chequered flag was, however cra…
  • Need help with my P flag!Not sure if I've emulated the P flag correctly when its comes to overflows. Here's what I've done:<br /> <br /> LD A,123<br /> LD B,16<br /> ADD A,B<…
  • Zero magazine scans/mags available?Hello.<br /> <br /> Offtopic for a Spectrum forum I know but does anyone (Mort! ?) have scans available for the Zero series of magazines? It was the …
  • Union flag on Sabre Wulf game boxLooking at this pic, I noticed that the Sabre Wulf box has a Union flag style sticker on it:<br /> <br /> [url]http://www.digitalarcade.co.uk/speccy/…
  • Any "Capture The Flag" games?There used to be a really good DOS game called Capture The Flag which featured two teams of players starting in a land area split in two. The object …
  • Overflow Flag QuestionHello all,<br /> <br /> After a long hiatus (lost all code when my MacBook was stolen) i've gone back to the drawing board and am writing a Z80 emula…

Related Searches

  • zero emulator
  • compliment z flag
  • zero not starting
  • zero emulator starting
  • zero emulator windows 10
  • leading zero
  • flag in basic
  • target renegade zero
  • parity flag
  • tape zero point
  • loading zero point
  • code zero
  • ground zero
  • zero source code
  • zero emulator source code
  • zero
  • chequered flag 128
  • sgt helmet zero
  • pixel quest zero
  • flag k

Copyright © 2024 World of Spectrum