textcommonsuffix

Group: text

Puts a string into a register.

Syntax

    textcommonsuffix result-register lhs-string-register rhs-string-register
    

Examples

.function: main/0
    text (.name: %iota hello_world) local "Hello World!"
    text (.name: %iota goodbye_world) local "Goodbye World!"

    textcommonsuffix (.name: %iota common_suffix) local %hello_world local %goodbye_world local
    print %common_suffix local

    izero %0 local
    return
.end