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
I lost in Code ...
by
ASerge
[
Today
at 10:57:04 pm]
FPC 3.3.1 release date an...
by
TRon
[
Today
at 10:28:05 pm]
[SOLVED] Ascii code to st...
by
CM630
[
Today
at 09:47:01 pm]
Is there a function calle...
by
d2010
[
Today
at 09:24:46 pm]
Groupview Partial loading...
by
matthius
[
Today
at 08:48:42 pm]
Somebody interested by RT...
by
Curt Carpenter
[
Today
at 08:19:06 pm]
Learn how to (un)dock a T...
by
dsiders
[
Today
at 08:16:02 pm]
DoContextPopup is not cal...
by
AlexTP
[
Today
at 08:15:30 pm]
A little bug in fpsimages...
by
Roni Wolf
[
Today
at 08:10:54 pm]
Simple form with custom t...
by
GypsyPrince
[
Today
at 06:57:59 pm]
IntToStr bring me to lost...
by
paule32
[
Today
at 06:48:49 pm]
Wiki access blocked
by
dsiders
[
Today
at 05:49:38 pm]
my programs crash
by
Gigatron
[
Today
at 05:44:07 pm]
Any way to change the TOD...
by
dsiders
[
Today
at 05:43:13 pm]
8Bit Image Filter
by
Gigatron
[
Today
at 05:12:14 pm]
I can write your README.m...
by
PeterBB
[
Today
at 04:58:05 pm]
macOS 15.4 Breaks All Com...
by
geraldholdsworth
[
Today
at 04:30:25 pm]
Ring Type Animation (cann...
by
Dzandaa
[
Today
at 04:19:05 pm]
Volunteering Partner Need...
by
Om Bageshwaray Namah
[
Today
at 04:13:55 pm]
Enum visibility across un...
by
Leledumbo
[
Today
at 03:58:46 pm]
Animator
by
hedgehog
[
Today
at 03:53:57 pm]
CENSIMENTO UTENTI ITALIAN...
by
xinyiman
[
Today
at 03:19:39 pm]
MacOS intel : Lazarus-dar...
by
Selzig
[
Today
at 02:25:00 pm]
Serial port
by
ccrause
[
Today
at 01:35:10 pm]
Functions that return str...
by
440bx
[
Today
at 01:28:24 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] is it a top_reg or top_ref or top_local? (Read 1089 times)
Key-Real
Sr. Member
Posts: 387
[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: 387
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: 387
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