# # canola - canon canola 1614p emulator # Copyright (C) 2011 Peter Miller # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 3, as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # ; ---------- Card-Pocket-Begin ------------------------------------------- ; Title: Cube Root, enter a value, calculate, print, loop ; Style: aus ; Disassemble: true ; ---------- Card-Pocket-End --------------------------------------------- fj 1 ent ; wait for the user to enter a value suj $210 ; calculate the cube root of the entered value print ; print the cube root uj 1 ; go back for more include software/cbrt.txt