From 0a32a8eeb98d5f3507edf5e303ae655f4b923c74 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 2 Dec 2021 22:24:21 +0100 Subject: Updating the documentation to match changes in Fate. --- content/fate_v1/instructions/addresses/_index.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'content/fate_v1/instructions/addresses') diff --git a/content/fate_v1/instructions/addresses/_index.md b/content/fate_v1/instructions/addresses/_index.md index 1b9cdc1..cf5143b 100644 --- a/content/fate_v1/instructions/addresses/_index.md +++ b/content/fate_v1/instructions/addresses/_index.md @@ -1,6 +1,12 @@ --- title: Addresses --- +### ALLOCATION +{{< fatecode >}}(allocate! [POINTER REFERENCE]){{< /fatecode >}} + +Set `[POINTER REFERENCE]` to the address of a new memory location of type +`[TYPE]`. Don't forget to call `free` on it once you're done. + ### DE-ALLOCATION {{< fatecode >}}(free! [POINTER]){{< /fatecode >}} -- cgit v1.2.3-70-g09d2