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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Best UI to adopte while d...
by
BSaidus
[
Today
at 08:56:07 pm]
Strange memory allocation...
by
LV
[
Today
at 08:19:48 pm]
Error: (1026) Compilation...
by
daniel_sap
[
Today
at 08:02:58 pm]
storing string
by
cdbc
[
Today
at 07:27:04 pm]
LazMapView - adding a sca...
by
wp
[
Today
at 06:32:03 pm]
Lazarus MDI application.
by
jamie
[
Today
at 05:50:53 pm]
Random SnowFlakes: Better...
by
Roland57
[
Today
at 04:39:47 pm]
Worksheet.PageLayout
by
seghele0
[
Today
at 04:30:15 pm]
[Solved] How to unselect ...
by
jamie
[
Today
at 12:48:55 pm]
Lazarus/FPC semi-randomly...
by
Martin_fr
[
Today
at 12:22:41 pm]
In pascal multiple line s...
by
MarkMLl
[
Today
at 09:44:04 am]
How to capture MouseDown ...
by
kapibara
[
Today
at 09:02:53 am]
Anyone doing Advent of Co...
by
silvercoder70
[
Today
at 08:31:13 am]
AY_FLY Library
by
Guva
[
Today
at 04:21:14 am]
How do you know wich vers...
by
jamie
[November 30, 2024, 11:58:48 pm]
I am interested in learni...
by
AlanTheBeast
[November 30, 2024, 09:36:54 pm]
Arduino R4
by
AlanTheBeast
[November 30, 2024, 09:34:59 pm]
sql log file with sql sta...
by
CharlyTango
[November 30, 2024, 09:01:22 pm]
Lazarus Release Candidate...
by
jamie
[November 30, 2024, 05:34:49 pm]
How to store randomized n...
by
Thaddy
[November 30, 2024, 04:12:28 pm]
Common File Dialogs Have ...
by
msintle
[November 30, 2024, 03:19:59 pm]
MIDI file generator - wor...
by
germona
[November 30, 2024, 01:38:52 pm]
SQLite3 Date Problem
by
silvercoder70
[November 30, 2024, 01:06:37 pm]
How to turn off Antialias...
by
paweld
[November 30, 2024, 08:39:32 am]
CudaText Editor (written ...
by
zamtmn
[November 30, 2024, 08:34:07 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] is it a top_reg or top_ref or top_local? (Read 868 times)
Key-Real
Sr. Member
Posts: 372
[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
Key-Real
Sr. Member
Posts: 372
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
Key-Real
Sr. Member
Posts: 372
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
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