Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bdunderscore/d91e6a4207109526e1e41d3ab0439b6b to your computer and use it in GitHub Desktop.
Save bdunderscore/d91e6a4207109526e1e41d3ab0439b6b to your computer and use it in GitHub Desktop.
.data_start
__refl_const_intnl_udonTypeID: %SystemInt64, null
__refl_const_intnl_udonTypeName: %SystemString, null
__0_a_Int32: %SystemInt32, null
__0_b_Int32: %SystemInt32, null
__0_d_Int32: %SystemInt32, null
__0_c_Int64: %SystemInt64, null
__0_const_intnl_SystemInt32: %SystemInt32, null
__1_const_intnl_SystemInt32: %SystemInt32, null
__0_const_intnl_SystemUInt32: %SystemUInt32, null
__0_intnl_SystemInt32: %SystemInt32, null
__1_intnl_SystemInt32: %SystemInt32, null
__0_intnl_SystemInt64: %SystemInt64, null
__1_intnl_SystemInt64: %SystemInt64, null
__0_intnl_returnTarget_UInt32: %SystemUInt32, null
.data_end
# using System.Collections.Generic;
# using UdonSharp;
# using UnityEngine;
# using VRC.SDKBase;
# using VRC.Udon;
# public class GameObject1 : UdonSharpBehaviour
.code_start
# void Start()
.export _start
_start:
PUSH, __0_const_intnl_SystemUInt32
# {
# int a = 1;
PUSH, __0_const_intnl_SystemInt32
PUSH, __0_a_Int32
COPY
# int b = 2;
PUSH, __1_const_intnl_SystemInt32
PUSH, __0_b_Int32
COPY
# long c = a + b;
PUSH, __0_a_Int32
PUSH, __0_b_Int32
PUSH, __0_intnl_SystemInt32
EXTERN, "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32"
PUSH, __0_intnl_SystemInt32
PUSH, __0_intnl_SystemInt64
EXTERN, "SystemConvert.__ToInt64__SystemInt32__SystemInt64"
PUSH, __0_intnl_SystemInt64
PUSH, __0_c_Int64
COPY
# int d = a + b;
PUSH, __0_a_Int32
PUSH, __0_b_Int32
PUSH, __0_d_Int32
EXTERN, "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32"
# c = a + b;
PUSH, __0_a_Int32
PUSH, __0_b_Int32
PUSH, __1_intnl_SystemInt32
EXTERN, "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32"
PUSH, __1_intnl_SystemInt32
PUSH, __1_intnl_SystemInt64
EXTERN, "SystemConvert.__ToInt64__SystemInt32__SystemInt64"
PUSH, __1_intnl_SystemInt64
PUSH, __0_c_Int64
COPY
# d = a + b;
PUSH, __0_a_Int32
PUSH, __0_b_Int32
PUSH, __0_d_Int32
EXTERN, "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32"
PUSH, __0_intnl_returnTarget_UInt32 #Function epilogue
COPY
JUMP_INDIRECT, __0_intnl_returnTarget_UInt32
.code_end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment