homeSoftwaredesign  Prof. Dr. Uwe Schmidt FH Wedel

exec: ghc -e c2 Interp


> ghc -e c2 Interp
        lcnst   6
        store   m(0)
        lcnst   7
        store   m(1)
        lcnst   0
        store   m(2)
        jump    l0
l1:
        branch  l2
        load    m(0)
        lcnst   1
        sub
        store   m(0)
        load    m(2)
        load    m(1)
        add
        store   m(2)
        jump    l3
l2:
        load    m(0)
        lcnst   2
        div
        store   m(0)
        load    m(1)
        lcnst   2
        mul
        store   m(1)
l3:
l0:
        load    m(0)
        lcnst   0
        sub
        branch  l1
>
Dieses ist das Protokoll eines Testlaufs

Letzte Änderung: 03.07.2024 11:38:12
© Prof. Dr. Uwe Schmidt
Prof. Dr. Uwe Schmidt FH Wedel