UNPKG
68kcounter
Version:
latest (3.2.1)
3.2.1
3.2.0
3.1.2
3.1.1
3.1.0
3.0.2
3.0.1
3.0.0
2.0.2
2.0.1
2.0.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
68000 ASM source code cycle counter
github.com/grahambates/68kcounter
grahambates/68kcounter
68kcounter
/
dist
/
sizes
/
instructionSize.d.ts
6 lines
(5 loc)
•
218 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
InstructionStatement
}
from
"../parse/nodes"
;
/** * Get byte size of instruction statement */
export
default
function
instructionSize
(
{ opcode: { op, qualifier }, operands, }: InstructionStatement
): number;