Commit Graph

30 Commits

Author SHA1 Message Date
Sven/Sarah Barth
2e70bd7dcb * change cgsize2subreg and reg_cgsize on Z80 to behave more like they do on AVR; this fixes compilation of Z80 now that the array and string length fields are indeed of type SizeSInt instead of OSSInt 2022-01-21 07:40:22 +01:00
florian
637976e83f * patch by Marģers to unify internal error numbers, resolves #37888
git-svn-id: trunk@47103 -
2020-10-13 19:59:01 +00:00
nickysn
f71b6f341b + added JRJP to various instruction lists
git-svn-id: trunk@45497 -
2020-05-25 16:12:06 +00:00
nickysn
4beb4bf8b2 + Z80: support the flags subregisters in the registers_interfere function
git-svn-id: trunk@45347 -
2020-05-12 01:58:10 +00:00
nickysn
c6c834949f + Z80: support all the flags subregisters in super_registers_equal
git-svn-id: trunk@45346 -
2020-05-12 01:47:58 +00:00
nickysn
4263ff44c1 + Z80: added a registers_interfere helper function
git-svn-id: trunk@45338 -
2020-05-11 15:29:42 +00:00
nickysn
5947adcd7b + added a correct implementation of TAOptBase.SuperRegistersEqual for the Z80
git-svn-id: trunk@45337 -
2020-05-11 14:21:26 +00:00
nickysn
c81f433795 + Z80: support conditional JR
git-svn-id: trunk@45281 -
2020-05-05 23:49:41 +00:00
nickysn
e08c7b3642 + z80: added condition checking in taicpu.Matches
git-svn-id: trunk@45178 -
2020-04-29 21:38:41 +00:00
nickysn
f8c2d4a632 * added comment, stating that Z80 has no condition subsets
git-svn-id: trunk@45172 -
2020-04-29 12:19:59 +00:00
nickysn
491462fd02 + added another helper for register pairs: register_in
git-svn-id: trunk@45150 -
2020-04-28 00:18:49 +00:00
nickysn
a5d36e1bc6 + added Z80 helper functions is_regpair and split_regpair
git-svn-id: trunk@45149 -
2020-04-28 00:05:53 +00:00
nickysn
69c95115f6 - removed GetHigh, GetNextReg, GetLastReg, GetOffsetReg and GetOffsetReg64 from cpubase. The methods
in cg should be used instead, because they do better error checking on the register used.

git-svn-id: trunk@45147 -
2020-04-27 22:03:36 +00:00
nickysn
ce598813fa + handle all registers properly in reg_cgsize
git-svn-id: branches/z80@44804 -
2020-04-18 22:34:21 +00:00
nickysn
4b01ff605a * changed max_operands to 2 for the Z80
git-svn-id: branches/z80@44758 -
2020-04-17 23:34:56 +00:00
nickysn
66462fec68 - removed taddressmode from the Z80 code generator - it's a leftover from AVR that doesn't apply to the Z80
git-svn-id: branches/z80@44756 -
2020-04-17 23:01:13 +00:00
nickysn
1f5a1f8c28 + added DJNZ to the set of jmp instructions
git-svn-id: branches/z80@44750 -
2020-04-17 19:30:44 +00:00
nickysn
3c8ed1cfbc * use 8-bit registers for the function return regs
git-svn-id: branches/z80@44653 -
2020-04-09 00:07:20 +00:00
nickysn
472ac716b7 * mark the 8-bit versions of the registers as volatile when calling procedures/functions
git-svn-id: branches/z80@44628 -
2020-04-06 23:31:20 +00:00
nickysn
fb3a079916 * updated TAsmCond and TResFlags for the Z80
git-svn-id: branches/z80@44571 -
2020-04-04 16:12:47 +00:00
nickysn
20eab5582f + generate the Z80 instruction enum and string table from z80ins.dat via a newly created tool
git-svn-id: branches/z80@44556 -
2020-04-04 01:36:07 +00:00
nickysn
bf8d560cc6 * treat all Z80 registers as 8-bit
git-svn-id: branches/z80@44532 -
2020-04-03 18:53:10 +00:00
nickysn
54097433da + implemented cgsize2subreg for z80
git-svn-id: branches/z80@44500 -
2020-04-01 22:29:33 +00:00
nickysn
b486e6b353 * define R_SUBWHOLE = R_SUBW for Z80
git-svn-id: branches/z80@44490 -
2020-04-01 18:53:05 +00:00
nickysn
2003020d68 + emit lowercase instructions in the z80 asm output
git-svn-id: branches/z80@44486 -
2020-04-01 14:09:44 +00:00
nickysn
d682df8bcd + implemented ait_instruction at least for instructions without operands
git-svn-id: branches/z80@44476 -
2020-04-01 02:19:46 +00:00
nickysn
ce424f2954 + added the OUTI instruction
git-svn-id: branches/z80@44417 -
2020-03-30 00:45:13 +00:00
nickysn
755fe97c51 * synchronize with trunk
git-svn-id: branches/z80@44397 -
2020-03-29 16:24:32 +00:00
florian
e370e9ba15 * register names fixed
git-svn-id: branches/z80@35670 -
2017-03-27 20:30:51 +00:00
florian
ea52a23179 + skeleton for Z80 support
git-svn-id: branches/z80@35665 -
2017-03-26 19:10:50 +00:00