1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-07 07:28:57 +00:00
6502bench/CommonUtil
Andy McFadden b43fd07688 Split 2002x-operand-formats test
My original goal was to add a sign-extended decimal format, but that
turned out to be awkward.  It works for data items and instructions
with immediate operands (e.g. "LDA #-1"), but is either wrong or
useless for address operands, since most assemblers treat integers
as 32-bit values.  (LDA -1 is not LDA $FFFF, it's LDA $FFFFFFFF,
which is not useful unless your asm is doing an implicit mod.)

There's also a bit of variability in how assemblers treat negative
values, so I'm shelving the idea for now.  I'm keeping the updated
tests, which are now split into 6502 / 65816 parts.

Also, updated the formatter to output all decimal values as unsigned.
Most assemblers were fine with negative values, but 64tass .dword
insists on positive.  Rather than make the opcode conditional on the
value's range, we now just always output unsigned decimal, which
all current assemblers accept.
2020-06-08 17:47:26 -07:00
..
Properties Initial file commit 2018-09-28 10:05:11 -07:00
AddressMap.cs Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
BitTwiddle.cs Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
CommonUtil.csproj Initial file commit 2018-09-28 10:05:11 -07:00
Container.cs Improve visualization 2019-12-04 15:59:37 -08:00
CRC32.cs Add file concatenation tool 2019-12-28 17:22:19 -08:00
DebugLog.cs Initial file commit 2018-09-28 10:05:11 -07:00
FileLoadReport.cs Initial file commit 2018-09-28 10:05:11 -07:00
FileUtil.cs Add file concatenation tool 2019-12-28 17:22:19 -08:00
Font8x8.cs Add NES visualization generator 2020-05-14 15:34:05 -07:00
Misc.cs Allow explicit widths in project/platform symbols, part 3 2019-10-02 16:50:15 -07:00
RangeSet.cs Experiment on uncategorized data analysis 2019-04-18 15:58:43 -07:00
RawData.cs Add support for points in wireframe meshes 2020-04-11 11:23:16 -07:00
ShellCommand.cs Initial file commit 2018-09-28 10:05:11 -07:00
TaskTimer.cs Initial file commit 2018-09-28 10:05:11 -07:00
TextUtil.cs Update project file formatting 2019-12-31 13:59:08 -08:00
TypedRangeSet.cs Experiment on uncategorized data analysis 2019-04-18 15:58:43 -07:00
UnpackedGif.cs Add animated GIF generation to HTML export 2019-12-24 18:15:03 -08:00
Version.cs Allow explicit widths in project/platform symbols, part 3 2019-10-02 16:50:15 -07:00