patchZ80 assembler - Patches: patch #3405, Add DEFM for Zilog compatibility

 
 

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

patch #3405: Add DEFM for Zilog compatibility

Submitter:  H. Peter Anvin <hpanvin>
Submitted:  Thu 30 Sep 2004 07:40:43 PM UTC
   
 
Category:  None Priority:  1 - Later
Status:  Done Privacy:  Public
Assigned to:  shevek Open/Closed:  Closed

Thu 30 Sep 2004 10:16:07 PM UTC, comment #2: 

None of the assemblers I've ever used have behaved in that way, and I've used at least a handful of different Z80 assemblers.  If this was ever the case, it would probably have been a platform-specific thing, that should perhaps be considered as a command-line option in the future (if so, it's a good reason to add the pseudo-op, though.)  I don't believe it should ever be default, though.

H. Peter Anvin <hpanvin>
Thu 30 Sep 2004 09:33:27 PM UTC, comment #1: 

I remember defm from somewhere, but I thought it was supposed to set the 7th bit of the last byte?

Bas Wijnen <shevek>
Group administrator
Thu 30 Sep 2004 07:40:43 PM UTC, original submission:  

Zilog assemblers use DEFB for byte values and DEFM for strings.  z80asm already supports mixing and matching these the way x86 assemblers do, this is a good thing.  This patch simply makes DEFM/DM an alias for DEFB/DB.

H. Peter Anvin <hpanvin>

 

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

Attached Files
file #5546:  defm.diff added by hpanvin (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-01 shevek Assigned toNone shevek
    Open/ClosedOpen Closed
2004-10-01 shevek StatusNone Done
2004-09-30 hpanvin Attached File- Added defm.diff, #3719

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code