ModuleHandler
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Allocate dynamically memory
Allocate dynamically memory
It assumes the size is in the stack and leaves the base address there.
Attributes
Allocate dynamically memory.
Allocate dynamically memory.
It leaves in the stack the base address for the object
Value parameters
- size
-
(Int) - size to allocate
Attributes
- Returns
-
(Code) - code to execute to allocate memory dynamically leaves in the stack the base address (i32)
Return dynamically the address of the next free memory
Return dynamically the address of the next free memory
Attributes
- Returns
-
(Code) - code to execute to get the memory boundary leaves the address (i32) in the stack
Dynamically change the memory boundary
Dynamically change the memory boundary
THIS FUNCTION SHOULD BE REMOVED FOR NOW, IT'S SHOULD ONLY BE USED IN Std::readString
Attributes
Allocate statically memory This is used for String literals for now
Allocate statically memory This is used for String literals for now
Value parameters
- size
-
(Int) - size of the memory to allocate
Attributes
- Returns
-
(Int) - base address of the allocated memory
Base address of the next free memory
Base address of the next free memory
Attributes
- Returns
-
(Int) - Base address of the next free memory
Fetch the address in memory of a String.
Fetch the address in memory of a String.
If String is not in memory, it'll allocate memory
Value parameters
- str
-
(String) - String to fetch
Attributes
- Returns
-
(Int) - base address of the String
Build the Data segments with the stored Strings in memory
Build the Data segments with the stored Strings in memory
Attributes
- Returns
-
(List[Data]) - List of data segments
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product