Difference between revisions of "84PCE:Syscalls:021DC0"

From WikiTI
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:84PCE:Syscalls:By Name|SwapHLEndian]]
 
[[Category:84PCE:Syscalls:By Name|SwapHLEndian]]
[[Category:84PCE:Syscalls:By Address|021DC0 - SwapHLEndian]]
+
[[Category:84PCE:Syscalls:By Address|021914 - SwapHLEndian]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Hypothesized Official Name:''' SwapHLEndian
 
'''Hypothesized Official Name:''' SwapHLEndian
  
'''Syscall Address:''' 021DC0h
+
'''Syscall Address:''' 021914h
  
Sets HL to LH. In other words, it loads the value in H to L, and the value in L to H.
+
Deletes a particular entry in the user entry stack. Starts at 1; '#' represents the current entry. So if input was like this:
  
Useful for converting between little-endian and big-endian.
+
1
 +
---
 +
2
 +
---
 +
Asm(prgmDEL
 +
 
 +
And prgmDEL called this routine with a = 1, the new history would look like this:
 +
 
 +
1
 +
---
 +
Asm(prgmDEL
 +
 
 +
And prgmDEL called this routine with a = 2, the new history would look like this:
 +
 
 +
2
 +
---
 +
Asm(prgmDEL
  
 
=== Inputs ===
 
=== Inputs ===
HL - value
+
A = Entry to delete
  
 
=== Outputs ===
 
=== Outputs ===
HL = LH
+
Selected entry is deleted
  
 
=== Destroys ===
 
=== Destroys ===
* None
+
* All

Revision as of 13:17, 25 May 2016

Synopsis

Hypothesized Official Name: SwapHLEndian

Syscall Address: 021914h

Deletes a particular entry in the user entry stack. Starts at 1; '#' represents the current entry. So if input was like this:

1
---
2
---
Asm(prgmDEL

And prgmDEL called this routine with a = 1, the new history would look like this:

1
---
Asm(prgmDEL

And prgmDEL called this routine with a = 2, the new history would look like this:

2
---
Asm(prgmDEL

Inputs

A = Entry to delete

Outputs

Selected entry is deleted

Destroys

  • All