RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

RemV

Programmer's Reference Manuals
» Part 1 - Introduction
» Vectors
» Software Vector Numbers
» RemV

Remove Vector (21)

Byte Removal (option 1)

Entry  
R1 Buffer number, bit-31 clear for byte operation
R9 21 (&15) vector number
V flag is set if buffer to be examined only, or 0 if data should be removed
Exit  
R0 Next byte to be removed (examine option), or corrupted (remove option)
R1 Preserved
R2 Byte removed (remove option), or corrupted (examine operation)
C flag set if buffer was empty on entry

Block Removal (option 2)

Entry  
R1 Buffer number, bit-31 set for block operation
R2 Pointer to block to be filled
R3 Number of bytes to place into block
R9 21 (&15) vector number
V flag is set if buffer to be examined only, or 0 if data should be removed
Exit  
R0 Preserved
R1 Preserved
R2 Pointer to updated buffer position
R3 Number of bytes still be to be removed
C flag set if buffer was empty on entry

Use

This vector is called to remove one or more bytes from a buffer.

Notes

All characters removed from buffers are sent through this vector.
If called via OS_CallAVector then interrupts must be disabled first.

See also

  • Buffer Numbers
  • OS_CallAVector
  • Software Vector Numbers
Created on January 31, 2010 13:25:19 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_CallAVector, Software Vectors, Software Vector Numbers

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys