Z80 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: |
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> |
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> |
Depends on the following items: None found
Items that depend on this one: None found
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 to | None | shevek | |
Open/Closed | Open | Closed | |||
2004-10-01 | shevek | Status | None | Done | |
2004-09-30 | hpanvin | Attached File | - | Added defm.diff, #3719 |
Powered by Savane 3.13-4b48.
Corresponding source code
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.