From 8fc78c2c8de45065836c92208830cf4f56afabc8 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 26 Nov 2002 13:44:35 +0000 Subject: [PATCH] Added the .TIME pseudo function git-svn-id: svn://svn.cc65.org/cc65/trunk@1651 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/ca65.sgml | 32 +++++++++++++++++++++++++------- src/ca65/expr.c | 6 ++++++ src/ca65/pseudo.c | 1 + src/ca65/scanner.c | 1 + src/ca65/scanner.h | 1 + 5 files changed, 34 insertions(+), 7 deletions(-) diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 83eb7fe8d..83f5ab230 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -1,3 +1,4 @@ +
@@ -406,6 +407,7 @@ Available operators sorted by precedence: .DEFINED Builtin function 1 .MATCH Builtin function 1 .TCOUNT Builtin function 1 + .TIME Builtin function 1 .XMATCH Builtin function 1 .PARAMCOUNT Builtin pseudo variable (r/o) 1 .REFERENCED Builtin function 1 @@ -2139,17 +2141,33 @@ Here's a list of all control commands and a description, what they do: .macro ldax arg - .if (.match (.mid (0, 1, arg), #)) - ; ldax called with immidiate operand - lda #<(.right (.tcount (arg)-1, arg)) - ldx #>(.right (.tcount (arg)-1, arg)) - .else - ... - .endif + .if (.match (.mid (0, 1, arg), #)) + ; ldax called with immidiate operand + lda #<(.right (.tcount (arg)-1, arg)) + ldx #>(.right (.tcount (arg)-1, arg)) + .else + ... + .endif .endmacro +.TIME