Can someone help me write this code completely in HLA(High Level Assembly) language. It is half in hla and half in c language. I want full in HLA program.That would be appreciated.
program big_number;
#include ("stdlib.hhf");
static
n: int8;
i: int8;
j: int8;
k: int8;
count: int8;
digit: int8;
begin big_number;
stdout.put("Gimme a decimal value to use for n: ");
stdin.get(n);
count := 1;
digit := n;
while (count <= n)
{
i := digit;
j := n - count + 1;
k := 1;
while (k <= count)
{
stdout.puti8(i);
inc(i);
k := k + 1;
}
count := count + 1;
digit := digit - 1;
}
end big_number;