Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
[SELVED] .set macro and .set nomacro
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Why does the call via fun...
by
Thaddy
[
Today
at 08:57:45 am]
LCL Web Native with D2Bri...
by
egsuh
[
Today
at 08:10:14 am]
Access Violation - Databa...
by
Xenno
[
Today
at 06:21:52 am]
Recomendations for conver...
by
egsuh
[
Today
at 04:39:30 am]
Error: Enumeration symbol...
by
440bx
[
Today
at 03:41:22 am]
Question re. FCL's ssocke...
by
Curt Carpenter
[
Today
at 12:22:45 am]
SpkToolbar custom update
by
wp
[December 14, 2025, 11:55:55 pm]
TLazSerial : serial port ...
by
tetrastes
[December 14, 2025, 09:57:52 pm]
[hacked for now] Changing...
by
jamie
[December 14, 2025, 09:00:23 pm]
MVP made easier.
by
cdbc
[December 14, 2025, 05:14:40 pm]
Lazarus is not working
by
Fred vS
[December 14, 2025, 05:14:20 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 14, 2025, 04:52:18 pm]
Running External Tools
by
JuhaManninen
[December 14, 2025, 04:08:28 pm]
The start of yet another ...
by
TBMan
[December 14, 2025, 03:16:21 pm]
Need help with Runcommand...
by
marcov
[December 14, 2025, 12:46:25 pm]
Military Grade Directives
by
Thaddy
[December 14, 2025, 11:46:44 am]
Cannot find Online Packag...
by
Thaddy
[December 14, 2025, 11:37:58 am]
Anyone interested in help...
by
ad1mt
[December 14, 2025, 08:56:20 am]
Hashing pointers by using...
by
440bx
[December 14, 2025, 03:16:33 am]
exception external SIGSEG...
by
dseligo
[December 14, 2025, 02:24:28 am]
[SOLVED] Is this a compil...
by
jamie
[December 14, 2025, 01:46:54 am]
Problem installing LazPro...
by
peter.dell
[December 14, 2025, 01:32:53 am]
AI interactions
by
Joanna
[December 13, 2025, 11:47:24 pm]
project - count source li...
by
bobonwhidbey
[December 13, 2025, 10:30:31 pm]
FPC 3.2.4-rc1 available
by
PeterBB
[December 13, 2025, 08:31:32 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SELVED] .set macro and .set nomacro (Read 2057 times)
Key-Real
Sr. Member
Posts: 395
[SELVED] .set macro and .set nomacro
«
on:
April 26, 2024, 01:48:31 pm »
Code: Pascal
[Select]
[+]
[-]
.
set
macro
...
code
...
.
set
nomacro
what does that mean?
«
Last Edit: June 04, 2024, 10:20:25 am by Key-Real
»
Logged
Demo Scene
,
FlyTracker
,
FPC for PlayStation 1
,
my Repos
Thaddy
Hero Member
Posts: 18529
Here stood a man who saw the Elbe and jumped it.
Re: .set macro and .set nomacro
«
Reply #1 on:
April 26, 2024, 07:11:38 pm »
it means that the {$macro on} switch is in effect/not in effect?
Logged
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.
nickysn
New Member
Posts: 27
Re: .set macro and .set nomacro
«
Reply #2 on:
April 28, 2024, 10:15:49 pm »
This is something specific to the MIPS assembler:
https://sourceware.org/binutils/docs-2.32/as/MIPS-Macros.html
However, I don't know MIPS, so I can't help you any further. The MIPS code generator produces these directives, but I don't know why.
Logged
Key-Real
Sr. Member
Posts: 395
Re: .set macro and .set nomacro
«
Reply #3 on:
June 04, 2024, 10:20:14 am »
between
.set macro
and
.set nomacro
are pseudo assembler code witch will be decoded by as to another "real" instructions:
Code: Pascal
[Select]
[+]
[-]
li $t1
,
0x001E0064
would be decoded as
Code: Pascal
[Select]
[+]
[-]
lui $t1
,
0x0010
ori $t1
,
$t1
,
0x0064
Logged
Demo Scene
,
FlyTracker
,
FPC for PlayStation 1
,
my Repos
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
[SELVED] .set macro and .set nomacro
TinyPortal
© 2005-2018