How to resolve the algorithm Count in octal step by step in the МК-61/52 programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Count in octal step by step in the МК-61/52 programming language

Table of Contents

Problem Statement

Produce a sequential count in octal,   starting at zero,   and using an increment of a one for each consecutive number. Each number should appear on a single line,   and the program should count until terminated,   or until the maximum value of the numeric type in use is reached.

Let's start with the solution:

Step by Step solution about How to resolve the algorithm Count in octal step by step in the МК-61/52 programming language

Source code in the мк-61/52 programming language

ИП0	П1	1	0	/	[x]	П1	Вx	{x}	1
0	*	7	-	x=0	21	ИП1	x#0	28	БП
02	ИП0	1	+	П0	С/П	БП	00	ИП0	lg
[x]	1	+	10^x	П0	С/П	БП	00


  

You may also check:How to resolve the algorithm MD5/Implementation step by step in the x86 Assembly programming language
You may also check:How to resolve the algorithm Multifactorial step by step in the Icon and Unicon programming language
You may also check:How to resolve the algorithm Delete a file step by step in the Raven programming language
You may also check:How to resolve the algorithm Musical scale step by step in the VBA programming language
You may also check:How to resolve the algorithm N-queens problem step by step in the MATLAB programming language