mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Document !and. Fix !shl and friends -- they provide binary operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b449c2885f
commit
b9f34663cb
@ -211,8 +211,8 @@ supported include:
|
|||||||
on string, int and bit objects. Use !cast<string> to compare other types of
|
on string, int and bit objects. Use !cast<string> to compare other types of
|
||||||
objects.
|
objects.
|
||||||
|
|
||||||
``!shl(a,b)`` ``!srl(a,b)`` ``!sra(a,b)`` ``!add(a,b)``
|
``!shl(a,b)`` ``!srl(a,b)`` ``!sra(a,b)`` ``!add(a,b)`` ``!and(a,b)``
|
||||||
The usual logical and arithmetic operators.
|
The usual binary and arithmetic operators.
|
||||||
|
|
||||||
Note that all of the values have rules specifying how they convert to values
|
Note that all of the values have rules specifying how they convert to values
|
||||||
for different types. These rules allow you to assign a value like "``7``"
|
for different types. These rules allow you to assign a value like "``7``"
|
||||||
|
@ -96,7 +96,7 @@ wide variety of meanings:
|
|||||||
.. productionlist::
|
.. productionlist::
|
||||||
BangOperator: one of
|
BangOperator: one of
|
||||||
:!eq !if !head !tail !con
|
:!eq !if !head !tail !con
|
||||||
:!add !shl !sra !srl
|
:!add !shl !sra !srl !and
|
||||||
:!cast !empty !subst !foreach !listconcat !strconcat
|
:!cast !empty !subst !foreach !listconcat !strconcat
|
||||||
|
|
||||||
Syntax
|
Syntax
|
||||||
|
Loading…
Reference in New Issue
Block a user