bugZ80 assembler - Bugs: bug #50211, Modulo operation missing in...

 
 

bug #50211: Modulo operation missing in expressions

Submitted by:  None
Submitted on:  Thu 02 Feb 2017 08:54:43 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 02 Feb 2017 08:54:43 PM UTC, original submission:

Hello Peter and Bas,

when I played around with lookup tables I noticed, that the calculation of the modulo operation does not work at all. It always returns zero (e.g. LD A,10%7 results in 0 instead of 3). Looking in the source code I found the modulo operation not implemented as stated in the documentation. Therefore I'd like to contribute a patch for adding modulo support as well. It can be found in the attachments of this submission.

Best regards,
Stefan Koch

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #41325:  z80asm-1.8+modulo_revised.diff added by None (1KiB - application/octet-stream)
file #39649:  z80asm-1.8+modulo.diff added by None (906B - application/octet-stream - patch for adding modulo support in expressions)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 25 Jul 2017 12:22:08 AM UTCNoneAttached File-=>Added z80asm-1.8+modulo_revised.diff, #41325
Thu 02 Feb 2017 08:54:43 PM UTCNoneAttached File-=>Added z80asm-1.8+modulo.diff, #39649

Back to the top


Powered by Savane 3.1-cleanup1