2022-03-12 15:34:04 -08:00
|
|
|
vc_hook: MACRO
|
2022-03-13 20:21:27 -07:00
|
|
|
if DEF(_CRYSTAL11_VC)
|
|
|
|
.VC_\1::
|
|
|
|
endc
|
2022-03-12 15:34:04 -08:00
|
|
|
ENDM
|
|
|
|
|
|
|
|
vc_patch: MACRO
|
2022-03-13 20:21:27 -07:00
|
|
|
if DEF(_CRYSTAL11_VC)
|
|
|
|
assert !DEF(CURRENT_VC_PATCH), "Already started a vc_patch"
|
2022-03-12 15:34:04 -08:00
|
|
|
CURRENT_VC_PATCH EQUS "\1"
|
2022-03-13 20:21:27 -07:00
|
|
|
.VC_{CURRENT_VC_PATCH}::
|
|
|
|
endc
|
2022-03-12 15:34:04 -08:00
|
|
|
ENDM
|
|
|
|
|
|
|
|
vc_patch_end: MACRO
|
2022-03-13 20:21:27 -07:00
|
|
|
if DEF(_CRYSTAL11_VC)
|
|
|
|
assert DEF(CURRENT_VC_PATCH), "No vc_patch started"
|
|
|
|
.VC_{CURRENT_VC_PATCH}_End::
|
|
|
|
PURGE CURRENT_VC_PATCH
|
|
|
|
endc
|
2022-03-12 15:34:04 -08:00
|
|
|
ENDM
|
|
|
|
|
|
|
|
vc_assert: MACRO
|
2022-03-13 20:21:27 -07:00
|
|
|
if DEF(_CRYSTAL11_VC)
|
|
|
|
assert \#
|
|
|
|
endc
|
2022-03-12 15:34:04 -08:00
|
|
|
ENDM
|