1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Fix comments and remove whitespace from __asm__ macros

git-svn-id: svn://svn.cc65.org/cc65/trunk@1895 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-01-09 11:34:23 +00:00
parent 400672756b
commit fb81235769
2 changed files with 9 additions and 9 deletions

View File

@ -49,9 +49,9 @@ unsigned char getcpu (void);
/* Macros for CPU instructions */
#define BRK() __asm__ ("\tbrk")
#define CLI() __asm__ ("\tcli")
#define SEI() __asm__ ("\tsei")
#define BRK() __asm__ ("brk")
#define CLI() __asm__ ("cli")
#define SEI() __asm__ ("sei")
@ -86,9 +86,9 @@ struct regs {
/* Function to call any machine language subroutine. All registers in the
* regs structure are passed into the routine and the results are passed
* out. Some of the flags are ignored on input. The called routine must
* end with an RTS.
*/
* out. The B flag is ignored on input. The called routine must end with
* an RTS.
*/
void __fastcall__ _sys (struct regs* r);

View File

@ -17,7 +17,7 @@ __sys: sta ptr1
ldy #5
lda (ptr1),y
sta jmpvec+2
dey
dey
lda (ptr1),y
sta jmpvec+1
@ -25,7 +25,7 @@ __sys: sta ptr1
dey
lda (ptr1),y
and #%11001011
and #%11001111 ; Mask out break and unused flag
pha
ldy #0
lda (ptr1),y
@ -35,7 +35,7 @@ __sys: sta ptr1
iny
lda (ptr1),y
tay
tax
iny
lda (ptr1),y
tay