Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 562 Bytes

typeid.md

File metadata and controls

33 lines (24 loc) · 562 Bytes

Asmc Macro Assembler Reference

operator TYPEID

TYPEID( [[ type, ]] expression )

Returns a string equivalent of a type from expression.

Example

.inline type :abs, :vararg {
    this.typeid(type_, _1)(_1, _2)
    }
input output
1 type_imm
1.0 type_flt
ax type_word
rax type_qword
zmm0 type_zword
addr [rax] type_ptr
addr i type_ptrsdword
addr rc type_ptrRECT
i type_sdword
rc type_RECT

See Also

Operators Reference