From beddafc07c852b744e5f75768ea3abd462dd749a Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Sun, 21 Feb 2021 19:36:55 -0800 Subject: [PATCH] Add missing argument name. --- ueforth/common/calling.h | 2 ++ ueforth/site/ESP32forth.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ueforth/common/calling.h b/ueforth/common/calling.h index 3c06d0f..ea882c6 100644 --- a/ueforth/common/calling.h +++ b/ueforth/common/calling.h @@ -17,6 +17,8 @@ #define a2 (*(void **) &n2) #define a3 (*(void **) &n3) #define a4 (*(void **) &n4) +#define a5 (*(void **) &n5) +#define a6 (*(void **) &n6) #define b0 ((uint8_t *) tos) #define b1 (*(uint8_t **) &n1) diff --git a/ueforth/site/ESP32forth.html b/ueforth/site/ESP32forth.html index cdc8ce1..694b2cf 100644 --- a/ueforth/site/ESP32forth.html +++ b/ueforth/site/ESP32forth.html @@ -479,7 +479,7 @@ with the types positional names: n10 n9 n8 n7 n6 n5 n4 n3 n2 n1 n0 - Access stack as cell_t integer values c4 c3 c2 c1 c0 - Access stack as char* values b4 b3 b2 b1 b0 - Access stack as uint8_t* byte values - a4 a3 a2 a1 a0 - Access stack as void* values + a6 a5 a4 a3 a2 a1 a0 - Access stack as void* values Examples: void send_message(const char *message, int code);