Skip to content

Question about the return value #121

Closed

Description

@cymqqqq

I have some questions about the aluvm:

  1. if I want to return a value in the aluvm script(whatever it is), what kind of instruction should I take? (Now there is a ret instr, but it returns nothing)
  2. if I want to call another transition or extension, can I use call instr to call the lib id(hash) of a specific transition?

Activity

  1. dr-orlovsky commented on Aug 30, 2024

    @dr-orlovsky
    Member

    In any registry-based assembler values are returned via registers. And there is no such thing as "calling other state transition or extensions": the question just doesn't make sense, like "how to call CNN from AluVM"

  2. locked and limited conversation to collaborators on Aug 30, 2024
  3. converted this issue into a discussion #122 on Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions