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
Hint tools gives wrong hi...
by
wp
[May 11, 2026, 11:54:21 pm]
FPC Unleashed (inline var...
by
flowCRANE
[May 11, 2026, 11:35:00 pm]
TBufferDataSet error on a...
by
eldonfsr
[May 11, 2026, 11:24:36 pm]
TToolbutton: Dropdown men...
by
jamie
[May 11, 2026, 11:08:52 pm]
Can't access class in for...
by
jamie
[May 11, 2026, 11:01:23 pm]
Work of exeptions, corrup...
by
LemonParty
[May 11, 2026, 09:13:35 pm]
Help with FPReport data b...
by
Dankan1890
[May 11, 2026, 09:05:18 pm]
Full MSVC/LLVM/MinGW COFF...
by
tooknox
[May 11, 2026, 08:27:49 pm]
Windows API Hooking/DLL I...
by
tooknox
[May 11, 2026, 08:25:10 pm]
Nothing but chaotic attem...
by
Curt Carpenter
[May 11, 2026, 07:20:14 pm]
Limiting Search in TSelec...
by
Bart
[May 11, 2026, 06:45:22 pm]
How do 'with' statements ...
by
Nicole
[May 11, 2026, 04:01:19 pm]
Can I get the position an...
by
CM630
[May 11, 2026, 03:31:19 pm]
Qt does not position form...
by
zeljko
[May 11, 2026, 03:00:17 pm]
How to compare floating p...
by
creaothceann
[May 11, 2026, 02:14:30 pm]
Getting name / line of ca...
by
Thaddy
[May 11, 2026, 01:58:46 pm]
Label with multiple lines...
by
paweld
[May 11, 2026, 12:39:49 pm]
[Solved] TStringGrid disp...
by
jcmontherock
[May 11, 2026, 11:30:47 am]
Pascal port of Unishox2
by
AlexTP
[May 11, 2026, 10:29:01 am]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[May 11, 2026, 07:59:58 am]
using make with a differe...
by
Thausand
[May 11, 2026, 12:04:50 am]
RunFormula: math expressi...
by
valdir.marcos
[May 10, 2026, 10:49:20 pm]
Scripts to generate ofici...
by
marcov
[May 10, 2026, 09:28:54 pm]
FpDebug for Linux AARCH64
by
Martin_fr
[May 10, 2026, 08:21:58 pm]
Application.QueueAsyncCal...
by
Thaddy
[May 10, 2026, 03:17:23 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SELVED] .set macro and .set nomacro (Read 2139 times)
Key-Real
Sr. Member
Posts: 404
[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: 19128
Glad to be alive.
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
objects are fine constructs. You can even initialize them with constructors.
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: 404
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