Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Latest commit

 

History

History
49 lines (32 loc) · 540 Bytes

.inc.md

File metadata and controls

49 lines (32 loc) · 540 Bytes
description
Increment Value

.inc

{% hint style="info" %} Note: float mode support {% endhint %}

.inc &(0x2)

Example

; Load float value
.orb $(0x1)
.val @float_t(12.3)
.pull &(0x4)

; increment 12.3 -> 13.3
.inc &(0x4)
; load int
.ldx &(0x1) <| $(0x22)
; increment value 0x22 -> 0x23
.inc &(0x1)
OpCode 0xB1

See also

{% page-ref page=".pull.md" %}

{% page-ref page=".val.md" %}

{% page-ref page=".orb.md" %}

{% page-ref page=".ldx.md" %}