1 / 12

HP48 Simulator for Windows CE

HP48 Simulator for Windows CE. Roman Barsky Alon Nozic. Supervisor: Alexander Arlievsky. Introduction. HP 48 is a powerful scientific calculator, which is widely used by engineers, students and scientists.

kimi
Télécharger la présentation

HP48 Simulator for Windows CE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HP48 Simulator forWindows CE Roman Barsky Alon Nozic Supervisor: Alexander Arlievsky

  2. Introduction • HP 48 is a powerful scientific calculator, which is widely used by engineers, students and scientists • The project goal is to build a working model of the calculator, the Simulator, for the Embedded devices

  3. Supported Features (1) • Basic arithmetic operations. • Trigonometric functions. • The full set of hyperbolic functions. • Logarithmic and power functions. • Various data types: • Double • Integer (limited usage) • Complex (limited set of operations) • String • Algebraic expression • Program

  4. Supported Features (2) • Advanced stack architecture. • Working with algebraic expressions. • Possibility to define and store objects of all the types. • Programming features: • Block structure • If structures • Loop structures

  5. Example The Simulator at work

  6. Working on the Project Paradigms and Techniques

  7. Project Planning • The whole project was divided into two parts: “analytic” and “GUI” • Each part, in turn, consists of sub-projects

  8. Calc Sub-project • The tokenizer (built using FLEX lexical analyzer) • Recursive descent parser • 2 look-up tables • Main stack implementation • Mathematical functions implementation

  9. CE_STD Sub-project Partially replaces the Standard Template Library, which lacks in Visual Studio for Windows CE • Deque • String • Streams • Map • more…

  10. Characters Sub-project • The symbols are converted from one-byte representation to wide char and vice-versa. • Commonly used in the Simulator.

  11. Calculator Sub-project • Editor • Screen abstraction • Keyboard layer • Thread management • Initialization and shutting down • GUI

  12. The End Any questions?

More Related