Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] is it a top_reg or top_ref or top_local?
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
Status of FPC 3.4.0 or FP...
by
dbannon
[
Today
at 03:45:39 am]
Debian removes FPC/Lazaru...
by
dbannon
[
Today
at 01:08:23 am]
[SOLVED] TaChart on MAC: ...
by
wp
[
Today
at 12:16:09 am]
Fast Canvas Library V1.05...
by
backprop
[February 10, 2026, 11:38:53 pm]
fpGUI vs MSEide + MSEgui?
by
Graeme
[February 10, 2026, 10:23:25 pm]
Is FPGUI still active?
by
Graeme
[February 10, 2026, 10:20:16 pm]
TRichMemo EM_FORMATRANGE ...
by
rvk
[February 10, 2026, 09:31:40 pm]
TLazSerial : serial port ...
by
CM630
[February 10, 2026, 09:14:56 pm]
it2play - IT/S3M module r...
by
Lulu
[February 10, 2026, 09:11:05 pm]
The Future of FPC
by
Ten_Mile_Hike
[February 10, 2026, 07:38:23 pm]
[ANN] fpGUI Toolkit v2.0....
by
Graeme
[February 10, 2026, 07:37:05 pm]
Lazarus recompiles some o...
by
Hartmut
[February 10, 2026, 07:03:22 pm]
Fixing Lazarus 4.4 IDE la...
by
Curt Carpenter
[February 10, 2026, 06:47:29 pm]
External SIGSEV (Database...
by
cdbc
[February 10, 2026, 05:37:46 pm]
Z80 ZX Spectrum and Syste...
by
Cascade
[February 10, 2026, 03:30:13 pm]
Where is Lazarus config
by
Martin_fr
[February 10, 2026, 12:10:36 pm]
Anchordocking - window pr...
by
Zvoni
[February 10, 2026, 10:41:04 am]
How to determine the unkn...
by
Hartmut
[February 10, 2026, 09:56:10 am]
ThorVG - test (lightweigh...
by
Boleeman
[February 10, 2026, 09:34:56 am]
Anchordocking - Window T...
by
janhsh
[February 10, 2026, 09:33:09 am]
Free Pascal for a small e...
by
dbannon
[February 10, 2026, 09:20:55 am]
Problem with Generic Cons...
by
SonnyBoyXXl
[February 10, 2026, 07:59:15 am]
[SHARE] Rotate and Flip b...
by
Xenno
[February 10, 2026, 07:37:56 am]
Pre-Specialize Generic Fu...
by
Khrys
[February 10, 2026, 07:02:30 am]
[ANN] PasBuild 1.2.0 Rele...
by
Graeme
[February 09, 2026, 11:34:03 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] is it a top_reg or top_ref or top_local? (Read 1249 times)
Key-Real
Sr. Member
Posts: 395
[SOLVED] is it a top_reg or top_ref or top_local?
«
on:
July 16, 2024, 10:40:46 pm »
Code: Pascal
[Select]
[+]
[-]
lw $s0
,
108
(
$sp
)
<
-
taicpu
(
pp
)
.
oper
[
0
]
^
.
typ
=
top_reg $s0 this I knew
lw $s1
,
(
$s0
)
<
-
what
type
is $s0 is it taicpu
(
pp
)
.
oper
[
1
]
^
.
typ
=
top_reg
or
is it a top_ref
if it is a top_ref how to extract the register name?
«
Last Edit: July 17, 2024, 12:17:44 am by Key-Real
»
Logged
Demo Scene
,
FlyTracker
,
FPC for PlayStation 1
,
my Repos
Key-Real
Sr. Member
Posts: 395
Re: is it a top_reg or top_ref ?
«
Reply #1 on:
July 16, 2024, 11:12:51 pm »
or is it:
taicpu(pp).oper[1]^.typ = top_local
and can be accessable by taicpu(pp).oper[1]^.localoper^.localindexreg ?
Logged
Demo Scene
,
FlyTracker
,
FPC for PlayStation 1
,
my Repos
Key-Real
Sr. Member
Posts: 395
Re: is it a top_reg or top_ref or top_local?
«
Reply #2 on:
July 17, 2024, 12:17:28 am »
its:
taicpu(pp).oper[1]^.typ = top_ref
and is read by
taicpu(pp).oper[1]^.ref^.base
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
) »
[SOLVED] is it a top_reg or top_ref or top_local?
TinyPortal
© 2005-2018