patchZ80 assembler - Patches: patch #9377, Add support for inc ixl, etc....

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9377: Add support for inc ixl, etc. undocumented instructions

Submitter:  Tomaž Šolc <avian>
Submitted:  Wed 14 Jun 2017 09:13:21 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Ready For Test Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Sun 14 Mar 2021 10:01:27 AM UTC, comment #2: 

Hi Peter,

thanks for accepting my patch! I've checked the latest z80asm from git (91e4db0a) and the 8 undocumented inc and dec instructions indeed work correctly now.

Best regards
Tomaž

Tomaž Šolc <avian>
Sat 13 Mar 2021 03:26:39 PM UTC, comment #1: 

Hi Tomaž,

I have added your patch. Please check if it works correctly. It would probably be a good idea to add a flag for warningsor errors  if undocumented  instructions are used.

Peter Kollner <asgalon>
Group Member
Wed 14 Jun 2017 09:13:21 AM UTC, original submission:  

Hi

I've noticed that z80asm doesn't support the following undocumented instructions:

inc ixl ; dd 2c
inc ixh ; dd 24
inc iyl ; fd 2c
inc iyh ; fd 24
dec ixl ; dd 2d
dec ixh ; dd 25
dec iyl ; fd 2d
dec iyh ; fd 25

See this page for details http://www.z80.info/z80undoc.htm

It does seem to support ixl, ixh, iyl, iyh register operands in other instructions, but not in inc and dec instructions.

This patch adds support for these operands in inc and dec instructions and also adds some tests.

Best regards
Tomaž

Tomaž Šolc <avian>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #40914:  inc-ixl-undoc.patch added by avian (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by asgalon (Posted a comment)
  • -email is unavailable- added by avian (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-13 asgalon StatusNone Ready For Test
        Open/ClosedOpen Closed
    2017-06-14 avian Attached File- Added inc-ixl-undoc.patch, #40914

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code