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
Recommended way to build ...
by
carl_caulkett
[
Today
at 12:14:35 am]
Bitmap 16bit R5G6B5
by
wp
[
Today
at 12:09:15 am]
Incorrect FPC/Lazarus bui...
by
Seenkao
[September 16, 2024, 11:58:01 pm]
"Show Compiler Dialog"
by
dsiders
[September 16, 2024, 11:56:42 pm]
DBGRID | Picklist on fiel...
by
korba812
[September 16, 2024, 11:52:34 pm]
Listview how to custom or...
by
VisualLab
[September 16, 2024, 11:38:39 pm]
Problems with case statem...
by
carl_caulkett
[September 16, 2024, 11:28:40 pm]
Beginner can't debug a st...
by
mawg
[September 16, 2024, 10:53:24 pm]
[SOLVED] Copy the content...
by
Zoran
[September 16, 2024, 09:26:38 pm]
Reading tBitmap data is e...
by
jollytall
[September 16, 2024, 08:54:43 pm]
Broken Icon Display on ma...
by
lainz
[September 16, 2024, 07:53:29 pm]
Assigning result of a fun...
by
Thaddy
[September 16, 2024, 05:41:03 pm]
Regular expressions in In...
by
carl_caulkett
[September 16, 2024, 05:20:54 pm]
An exception occurred whi...
by
Laksen
[September 16, 2024, 05:07:49 pm]
Gridprinter Newby
by
wp
[September 16, 2024, 05:05:28 pm]
Sqlite tips leak dll usag...
by
jenson
[September 16, 2024, 04:11:18 pm]
Launching exe in a Teams-...
by
Zvoni
[September 16, 2024, 02:00:16 pm]
LazSerial how validate ch...
by
TRon
[September 16, 2024, 01:54:19 pm]
Poll: Watches and Display...
by
DarioGL
[September 16, 2024, 01:22:23 pm]
Golang vs free pascal
by
gidesa
[September 16, 2024, 01:07:51 pm]
Extended Module Player
by
Fred vS
[September 16, 2024, 11:57:51 am]
How do you move a Procedu...
by
alpine
[September 16, 2024, 11:32:56 am]
How to use newer macOS SD...
by
Hansaplast
[September 16, 2024, 11:19:59 am]
fpga programming with an ...
by
MarkMLl
[September 16, 2024, 10:48:07 am]
New Swagger/OpenAPI Clien...
by
PierceNg
[September 16, 2024, 09:58:24 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] is it a top_reg or top_ref or top_local? (Read 743 times)
Key-Real
Sr. Member
Posts: 362
[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
Key-Real
Sr. Member
Posts: 362
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
Key-Real
Sr. Member
Posts: 362
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
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