Portable electronic device with garbage collection function
Abstract
A portable electronic device of this invention has a control CPU (Central Processing Unit) and a data memory. The data memory is divided into a plurality of areas, and each area consists of a data area and an attribute area indicating an attribute of the data area. The attribute area consists of a first flag indicating whether or not data is stored in the data area, a second flag indicating whether or not data written in the data area is valid, and a third flag indicating whether or not data written in the data area is stored as a block. When an instruction supplied from a host system is a valid-data rearrangement instruction, the control CPU refers to the second flag, and sets a first flag of a data area whose second flag indicates that data is invalid to indicate that data is unwritten, thus rear-ranging valid data of the data memory so that no invalid data area is present between valid data areas. When the third flag indicates write incompletion, the control CPU sets the second flag to make the data area invalid.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 267.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A portable electronic device comprising: memory means divided into a plurality of areas, each area storing input data and attribute data of the input data, the attribute data comprising a first flat indicating whether input data has previously been written in the area, and a second flag indicating whether the input data previously stored in the area is deletable; means for writing input data in the area whose first flag indicates that input data has not been previously written therein; means for deleting input data in the area whose second flag indicates that input data previously stored t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗