about summary refs log blame commit diff stats
path: root/linux/315slice.subx
blob: 0a34855037cd25b11302c7d1a7044137f88f356d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                    
== code

# variant of slice-to-string intended to be called from Mu
# Mu doesn't yet expose allocation-descriptors
_slice-to-string:  # in: (addr slice), out: (addr handle array byte)
    # . prologue
    55/push-ebp
    89/<- %ebp 4/r32/esp
    #
    (slice-to-string Heap *(ebp+8) *(ebp+0xc))
    # . epilogue
    89/<- %esp 5/r32/ebp
    5d/pop-to-ebp
    c3/return