Does anyone know or have an example on how can I store a static address in FunC assembly?
Does anyone know or have an example how can I store a static address in FunC? Using asm
Does anyone know or have an example how can I store a static address in FunC? I'm thinking about using the `asm` command, but I'm not sure what the syntax is for a `const slice`
```
int gas_consumption() asm "10000000 PUSHINT";
```
Maybe it would be something like:
```
slice myaddr() asm "Ef8E9kxq-_890Q2LpnB3kKyWcNVA83qUSLAze6pqWpKsrB5K' $>smca 2drop Addr";
```
Is this possible?
---
> This question was imported from Telegram Chat: https://t.me/tondev_eng/3550
Does anyone know or have an example how can I store a static address in func, I'm thinking about using the `asm` command, but Im not sure what is the syntax for a const slice
```
int gas_consumption() asm "10000000 PUSHINT";
```
it would be
```
slice myaddr() asm "Ef8E9kxq-_890Q2LpnB3kKyWcNVA83qUSLAze6pqWpKsrB5K' $>smca 2drop Addr";
```
is it possible ?
import from:
https://t.me/tondev_eng/3550
#asm
#func
#assembler
Does anyone know or have an example how can I store a static address in FunC? Using asm
Does anyone know or have an example how can I store a static address in func, I'm thinking about using the `asm` command, but Im not sure what is the syntax for a const slice
```
int gas_consumption() asm "10000000 PUSHINT";
```
it would be
```
slice myaddr() asm "Ef8E9kxq-_890Q2LpnB3kKyWcNVA83qUSLAze6pqWpKsrB5K' $>smca 2drop Addr";
```
is it possible ?
import from:
https://t.me/tondev_eng/3550