Commit Graph

241 Commits

Author SHA1 Message Date
Kugel Fuhr
59e7158512 Make the CPU_xxx constants from cpu.mac internal to the assembler and replace
cpu.mac by a file that just emits a warning when used.
2025-07-01 08:29:42 +02:00
Kugel Fuhr
f333b300f1 Added the CPU_HAS_BITIMM capability. 2025-07-01 07:16:33 +02:00
Kugel Fuhr
d4e57278c6 Add a new .cap pseudo function to the assembler that allows to check for
certain capabilities of the CPU or target system.
2025-06-30 21:37:43 +02:00
mrdudz
a1a87f74a9 add pseudos to docs 2025-06-29 19:45:29 +02:00
mrdudz
501dc00c9f fix JSL/JML 2025-06-29 18:28:49 +02:00
mrdudz
6c6fcea71d docs braindump 2025-06-29 02:22:18 +02:00
mrdudz
f09aaeb085 update docs a bit, create a seperate CPU page 2025-06-28 00:58:44 +02:00
Bob Andrews
54a2410b5a Merge pull request #2674 from GorillaSapiens/c_sp
rename "sp" to "c_sp", avoid conflict with 4510 opcodes
2025-06-24 17:44:13 +02:00
mrdudz
6d7f37c4f2 update list of targets in the docs 2025-06-22 21:08:13 +02:00
Gorilla Sapiens
a7af49a763 Merge branch 'master' into c_sp 2025-06-22 19:02:24 +00:00
mrdudz
4820b716c7 use sect2 for cpu subsections 2025-06-21 22:12:53 +02:00
mrdudz
698045c7c2 updated the docs 2025-06-21 21:55:21 +02:00
mrdudz
9344d87b05 part of #1792 - 48GS02 assembler support 2025-06-21 00:56:34 +02:00
mrdudz
c75d1dd7df update docs with some more info about the various cpu modes 2025-06-19 22:42:36 +02:00
mrdudz
2be28d2d64 add some comments 2025-06-19 01:32:43 +02:00
mrdudz
130c5e67b3 typo 2025-06-18 18:30:29 +02:00
Gorilla Sapiens
5a4b11e7ff Merge branch 'master' into c_sp 2025-06-18 06:14:39 +00:00
mrdudz
5a3aa1fd51 fix/add missing .ifp02x and .p02x pseudo ops, update test 2025-06-17 23:34:23 +02:00
mrdudz
476abbddd1 update/fix doc nodes 2025-06-16 23:26:47 +02:00
mrdudz
ed86cb84f9 slightly updated docs 2025-06-16 23:10:49 +02:00
Gorilla Sapiens
b6f42f9ab2 changed "spc" to "c_sp" 2025-06-04 06:37:59 +00:00
Gorilla Sapiens
3d118dc6e5 rename "sp" to "spc", avoid conflict with 4510 opcodes 2025-06-04 02:06:40 +00:00
Max
8cf802cee3 Fix documentation about unnamed labels using an @. 2025-04-15 16:57:13 +02:00
Bob Andrews
bfbf5cd250 Merge pull request #2560 from binary-sequence-forks/master
Improve description of namespace access in ca65
2024-12-15 23:01:15 +01:00
Sergio Lindo Mansilla
17e7e669c9 Fix typo in ca65 doc 2024-12-15 15:29:38 +01:00
Sergio Lindo Mansilla
3933f329c2 Improve description of namespace access in ca65
This avoid confusion with referencing global scope with the namespace
token.
2024-12-15 15:08:32 +01:00
Evgeny Vrublevsky
270f3544b5 Document changes in unnamed labels. 2024-04-07 13:34:48 +03:00
bbbradsmith
9892c8f6c4 using less generic names for the example to avoid confusion, adding cautionary example for what I think is the most error prone case 2023-12-17 05:40:00 -05:00
bbbradsmith
302c4f7409 clarify offsets of anonymous nested scope, missing quotes for names 2023-12-17 05:01:06 -05:00
bbbradsmith
0ff1b20f2a nested struct example needs a .tag 2023-12-16 19:52:57 -05:00
bbbradsmith
f6838be162 missing <tt> 2023-12-16 19:32:52 -05:00
bbbradsmith
6cb8717c24 fix dangling space, mention .union in test comment 2023-12-16 19:25:21 -05:00
bbbradsmith
0d74b84ce4 Test of .struct and .union features. Update documentation with more examples, better clarity, and fixes to incorrect data. 2023-12-16 19:18:25 -05:00
Evgeny Vrublevsky
850007cb44 Document line_continuations feature. 2023-10-05 08:28:37 +03:00
Bob Andrews
537aa665cf Merge pull request #2006 from bbbradsmith/ca65_jmp_abs_wrap_error
jmp (abs) wrap warning promoted to an error, suppressed on 65C02/etc
2023-09-08 18:26:55 +02:00
bbbradsmith
97e59b0756 ref link doesn't work within the usage verb 2023-08-19 15:50:22 -04:00
bbbradsmith
28ffe2f59b add jmp page crossing to --relax-checks, document it, fix --relax-checks documentation (segment branch error is not suppressed) 2023-08-19 15:39:51 -04:00
mrdudz
39619b629d fix docs on .version (forgot to update it when __CC65__ was fixed) 2023-08-19 15:39:16 +02:00
mvax
11cc5b6f06 remove .feature requirment for addrsize function, silently ignore '.feature addrsize' 2023-05-06 14:24:53 -04:00
Bob Andrews
dd0e902a08 Merge pull request #2077 from bbbradsmith/doc-setbooloption-must-can
Document directives that use SetBoolOption "can" use +/- rather than "must"
2023-05-03 13:15:35 +02:00
bbbradsmith
2b60adfa11 Document directives that use SetBoolOption "can" use +/- rather than "must"
#1772
2023-05-03 03:26:10 -04:00
bbbradsmith
4d698bf18c Don't use a,x,y in macro parameter example, document why not.
#392
2023-05-03 03:05:14 -04:00
Bob Andrews
b9cf6266e7 Merge pull request #2010 from bbbradsmith/ca65_brk_optional_signature
optional BRK signature on all 6502 CPUs, not just 65816
2023-03-04 13:21:28 +01:00
Bob Andrews
c0559dd931 Merge pull request #2009 from bbbradsmith/ca65_feature_disable
ca65: allow .feature to both enable and disable
2023-03-04 13:08:18 +01:00
mvax
0b71d1cfff Fix .endmacro not at the start of the line. Fix last commit 2023-03-01 21:55:14 -05:00
mvax
1c60bc5009 Fix .endmacro not at the start of the line. Fix style, add doc., add tests 2023-03-01 21:47:50 -05:00
bbbradsmith
3d41a5b516 allow immedite style syntax variation for BRK signature byte 2023-02-25 08:23:47 -05:00
bbbradsmith
3f8252311e 65C816 document brk optional signature, and mvn/mvp syntax 2023-02-24 23:00:30 -05:00
bbbradsmith
da150aeeac allow .feature to both enable and disable 2023-02-24 18:00:58 -05:00
Bob Andrews
12fc59351e Merge branch 'master' into ca65_long_jsr_jmp_rts 2023-02-24 19:25:32 +01:00