From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/m32c-pragmas.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 devdocs/gcc~13/m32c-pragmas.html (limited to 'devdocs/gcc~13/m32c-pragmas.html') diff --git a/devdocs/gcc~13/m32c-pragmas.html b/devdocs/gcc~13/m32c-pragmas.html new file mode 100644 index 00000000..70919cb8 --- /dev/null +++ b/devdocs/gcc~13/m32c-pragmas.html @@ -0,0 +1,14 @@ +

6.62.3 M32C Pragmas

+GCC memregs number +
+

Overrides the command-line option -memregs= for the current file. Use with care! This pragma must be before any function in the file, and mixing different memregs values in different objects may make them incompatible. This pragma is useful when a performance-critical function uses a memreg for temporary values, as it may allow you to reduce the number of memregs used.

+ADDRESS name address +
+

For any declared symbols matching name, this does three things to that symbol: it forces the symbol to be located at the given address (a number), it forces the symbol to be volatile, and it changes the symbol’s scope to be static. This pragma exists for compatibility with other compilers, but note that the common 1234H numeric syntax is not supported (use 0x1234 instead). Example:

#pragma ADDRESS port3 0x103
+char port3;
+
+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/M32C-Pragmas.html +

+
-- cgit v1.2.3