From 6275cc52005d348dd03b5c4ea03bed5039564630 Mon Sep 17 00:00:00 2001 From: David Banks Date: Fri, 3 Sep 2021 18:38:57 +0100 Subject: [PATCH] Native ARM Co Pro: Fix regression in OS_Args SWI Change-Id: Ia0d53b43fa9de7e3eba7e9577282fa0dae7e486c --- src/tube-swi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tube-swi.c b/src/tube-swi.c index 8d3211d8..cce81b0e 100644 --- a/src/tube-swi.c +++ b/src/tube-swi.c @@ -944,7 +944,7 @@ static void tube_Args(unsigned int *reg) { // Y = R1 is the file namdle sendByte(R2_ID, (unsigned char )reg[1]); // R2 is the 4 byte data block - sendWord(R2_ID, (unsigned char )reg[2]); + sendWord(R2_ID, reg[2]); // A = R0 is the operation code sendByte(R2_ID, (unsigned char )reg[0]); // get back A