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
Interesting article about...
by
Joanna from IRC
[
Today
at 02:35:35 am]
Starting a program with h...
by
jeremiah
[
Today
at 02:32:28 am]
Adlib Player
by
Gigatron
[
Today
at 01:57:12 am]
Bug in string concatenati...
by
Avinash
[
Today
at 01:51:00 am]
Is it possible to do git ...
by
Warfley
[
Today
at 12:38:51 am]
MQTT devices for Home Ass...
by
nicolap
[
Today
at 12:37:19 am]
Draw Transparent Fill Rec...
by
lainz
[
Today
at 12:16:54 am]
I have created dll in gol...
by
Packs
[December 11, 2024, 11:14:14 pm]
[Solved] Crosshair error ...
by
wp
[December 11, 2024, 10:39:23 pm]
had a question and found ...
by
Wesbat
[December 11, 2024, 10:30:22 pm]
Adding interfaces to any ...
by
lainz
[December 11, 2024, 10:29:51 pm]
Anyone doing Advent of Co...
by
therealhades
[December 11, 2024, 09:47:15 pm]
2048 game
by
Chronos
[December 11, 2024, 07:40:27 pm]
FPC port to 9front
by
marcov
[December 11, 2024, 07:27:07 pm]
Fatal: (10022) Can't find...
by
emersonline
[December 11, 2024, 07:25:37 pm]
[SOLVED] How to save a Gr...
by
Hartmut
[December 11, 2024, 05:17:16 pm]
Controlled Folder Access
by
Igor Kokarev
[December 11, 2024, 04:12:30 pm]
Serial Port using tvsComP...
by
Dzandaa
[December 11, 2024, 03:44:02 pm]
Stdout from program
by
Gyuri
[December 11, 2024, 03:16:13 pm]
Common File Dialogs Have ...
by
rvk
[December 11, 2024, 01:50:24 pm]
MainMenu: How to use the ...
by
madref
[December 11, 2024, 11:15:54 am]
[Solved!] DBLookupListBox...
by
heebiejeebies
[December 11, 2024, 09:27:03 am]
The Silver Coder on YouTu...
by
silvercoder70
[December 11, 2024, 08:48:41 am]
Random errors in TensorFl...
by
jollytall
[December 11, 2024, 08:29:13 am]
SAVE StringGrid to PDF
by
dseligo
[December 11, 2024, 02:40:40 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] is it a top_reg or top_ref or top_local? (Read 923 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