Add bounded expressions for immediate addressing and list the new feature in
the docs. git-svn-id: svn://svn.cc65.org/cc65/trunk@5406 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -109,6 +109,12 @@ ExprNode* GenByteExpr (ExprNode* Expr);
|
||||
ExprNode* GenWordExpr (ExprNode* Expr);
|
||||
/* Force the given expression into a word and return the result. */
|
||||
|
||||
ExprNode* GenFarAddrExpr (ExprNode* Expr);
|
||||
/* Force the given expression into a far address and return the result. */
|
||||
|
||||
ExprNode* GenDWordExpr (ExprNode* Expr);
|
||||
/* Force the given expression into a dword and return the result. */
|
||||
|
||||
ExprNode* GenNE (ExprNode* Expr, long Val);
|
||||
/* Generate an expression that compares Expr and Val for inequality */
|
||||
|
||||
@@ -170,6 +176,13 @@ ExprNode* FuncLoByte (void);
|
||||
ExprNode* FuncHiByte (void);
|
||||
/* Handle the .HIBYTE builtin function */
|
||||
|
||||
ExprNode* MakeBoundedExpr (ExprNode* Expr, unsigned Size);
|
||||
/* Force the given expression into a specific size of ForceRange is true */
|
||||
|
||||
ExprNode* BoundedExpr (ExprNode* (*ExprFunc) (void), unsigned Size);
|
||||
/* Parse an expression and force it within a given size if ForceRange is true */
|
||||
|
||||
|
||||
|
||||
/* End of expr.h */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user