Difference between revisions of "84PCE:Syscalls:021914"

From WikiTI
Jump to: navigation, search
(Created page with "DeleteHistoryEntry 021914 - DeleteHistoryEntry == Synopsis == '''Hypothesized Official Name:''' Dele...")
 
(Synopsis)
 
Line 6: Line 6:
 
'''Syscall Address:''' 021914h
 
'''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:
+
Deletes a particular entry in the user entry stack. Starts at 1; the '#' program represents the current entry. So if input was like this:
  
 
  1
 
  1
Line 25: Line 25:
 
  ---
 
  ---
 
  Asm(prgmDEL
 
  Asm(prgmDEL
 +
 +
If you want to delete the very first entry the user entered, pass the value in [[84PCE:RAM:D01D0B|numLastEntries]].
  
 
=== Inputs ===
 
=== Inputs ===

Latest revision as of 14:34, 25 May 2016

Synopsis

Hypothesized Official Name: DeleteHistoryEntry

Syscall Address: 021914h

Deletes a particular entry in the user entry stack. Starts at 1; the '#' program 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

If you want to delete the very first entry the user entered, pass the value in numLastEntries.

Inputs

A = Entry to delete

Outputs

Selected entry is deleted

Destroys

  • All