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
How to physically connect...
by
cdbc
[
Today
at 10:40:58 am]
TAudio- play, edit, conve...
by
Tomxe
[
Today
at 09:56:57 am]
Does anyone have the idea...
by
TYDQ
[
Today
at 09:45:38 am]
Macos Sequoia Lazarus 3.8...
by
Nimbus
[
Today
at 09:01:51 am]
String Grid move to cell
by
Handoko
[
Today
at 07:55:37 am]
Problems accessing inform...
by
paweld
[
Today
at 06:54:23 am]
Breakout clone with rayli...
by
Guva
[
Today
at 06:19:10 am]
Newbie in Web Programming...
by
incendio
[
Today
at 03:07:51 am]
Convert this Python code ...
by
Jurassic Pork
[
Today
at 02:56:08 am]
[solved] macro for code ?
by
TBMan
[
Today
at 02:34:14 am]
I get access violation wh...
by
Martin_fr
[
Today
at 01:23:11 am]
A Digital Fidget Spinner-...
by
Boleeman
[
Today
at 01:01:20 am]
Why there is no build-in ...
by
maurog
[
Today
at 12:04:25 am]
full featured Android Nat...
by
Seenkao
[April 26, 2025, 10:51:30 pm]
Why isn't Lazarus / Free ...
by
Seenkao
[April 26, 2025, 10:35:20 pm]
Why is my pie not unicolo...
by
Nicole
[April 26, 2025, 09:28:59 pm]
Knob Finger Spinner Graph...
by
SandyG
[April 26, 2025, 06:02:01 pm]
Little addition for lazpa...
by
Love
[April 26, 2025, 05:43:22 pm]
Cannot open form after up...
by
PaulWolf
[April 26, 2025, 03:48:15 pm]
TChart - To update or not...
by
Nicole
[April 26, 2025, 03:48:03 pm]
FPC 3.2.2 using Result wi...
by
PascalDragon
[April 26, 2025, 03:41:53 pm]
BLOOMING TREES: Digital S...
by
Boleeman
[April 26, 2025, 03:23:39 pm]
It's a SINE or ..... perh...
by
Boleeman
[April 26, 2025, 03:19:39 pm]
Clipboard actions to mult...
by
zxandris
[April 26, 2025, 02:48:28 pm]
ShowModal has a bug in Li...
by
zeljko
[April 26, 2025, 02:16:24 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] is it a top_reg or top_ref or top_local? (Read 1076 times)
Key-Real
Sr. Member
Posts: 386
[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: 386
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: 386
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