Post Reply 
(11C) Roll "Four" Dice at Random
10-13-2018, 03:32 AM (This post was last modified: 10-18-2019 01:29 AM by Gamo.)
Post: #1
(11C) Roll "Four" Dice at Random
Roll 4 dice at random program without using any store registers.

Procedure: f [USER] FIX 0

[D] display face 1st dice --> 2nd dice --> 3th dice --> 4th dice and display Total

Code:

LBL D
GSB 4
GSB 4
+
GSB 4
GSB 4
+
+
RTN
----------------------------
LBL 4
RAN#
6
x
1
+
INT
PSE
RTN

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) Roll "Four" Dice at Random - Gamo - 10-13-2018 03:32 AM



User(s) browsing this thread: 1 Guest(s)