Difference between revisions of "Instruction Set/call"
m (Protected "Instruction Set/call": generated ([Edit=<protect-level-bot>] (indefinite) [Move=<protect-level-bot>] (indefinite))) | |
(No difference) |
Revision as of 01:34, 3 January 2015
The general purpose unconditional abstract call operations you will be using when writing general assembly code. Depending on the number and order of arguments and the number of return values the assembler will pick the most dense from a myriad of different encodings. This can result in gangs or it can be a short single operation.
call(lit n, p target, args args) → ops r0 ...
An indirect call to a dynamically computed address.
encoding:
call(lit n, p target, off argv, count argc)
encoding:
call(lit n, p target, off argv, count argc, lit argv)
alternate encoding: call0, call1, calln,
Core | In Slots | Latencies |
---|---|---|
Tin | F0 | 1 |
Copper | F0 F1 | 1 |
Silver | F0 F1 F2 | 1 |
Gold | F0 F1 F2 F3 | 1 |
Decimal8 | F0 F1 F2 | 1 |
Decimal16 | F0 F1 F2 | 1 |
call(lit n, lbl target, args args) → ops r0 ...
Function is known at compile time.
encoding:
call(lit n, off target, count argc)
encoding:
call(lit n, off target, count argc, lit argv)
encoding:
call(lit n, off target, count argc, lit argv, lit argv)
alternate encoding: call0, call1, calln,
Core | In Slots | Latencies |
---|---|---|
Tin | F0 | 1 |
Copper | F0 F1 | 1 |
Silver | F0 F1 F2 | 1 |
Gold | F0 F1 F2 F3 | 1 |
Decimal8 | F0 F1 F2 | 1 |
Decimal16 | F0 F1 F2 | 1 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable