mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Format "and" as instruction op code
This commit is contained in:
parent
4e475cdbe9
commit
50101570ef
@ -346,7 +346,7 @@ Literals
|
||||
|
||||
You can use integer constants by typing them in decimal or hexadecimal notation and an
|
||||
appropriate ``PUSHi`` instruction will automatically be generated. The following creates code
|
||||
to add 2 and 3 resulting in 5 and then computes the bitwise and with the string "abc".
|
||||
to add 2 and 3 resulting in 5 and then computes the bitwise ``AND`` with the string "abc".
|
||||
The final value is assigned to a local variable called ``x``.
|
||||
Strings are stored left-aligned and cannot be longer than 32 bytes.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user