-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And for 68HC11, added boppcom option
- Loading branch information
Showing
23 changed files
with
1,598 additions
and
1,369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7b897ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a functionality step in the right direction!
FWIW, I recently hacked a dasmfw 6502 output file to assemble with Kick Assembler, some basic notes I made:
ZP_Obj_List_Ptr_Lo equ $0000
becomes
.const ZP_Obj_List_Ptr_Lo = $0000
Take out '?' character in names
; becomes //
fcb becomes .byte
fdb becomes .word
labels get a ':' at the end (but not when referenced)
org $2000 becomes * = $2000 "xxx"
7b897ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this commit doesn't allow to do all of your changes automatically, but at least some of them.
Things like
A equ B
-->.const A = B
aren't possible, butfcb
-->.byte
is.Changing ; to // should be feasible with
option cchar //
, IIRC (I don't think it's limited to one character).7b897ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v0.33 (i.e., the next commit I just did) can be used to emit assembler source code for the Kick assembler.
Here's a little info file which works quite nicely here:
7b897ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to update the documentation text for
option cchar
to mention that multiple characters will also work. It states (singular) "character" specifically, so I didn't consider trying it with//
.7b897ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.