Question: Can you give me and HLA code without high langauage assembly that works? Heres my code when i run i get this error Error in
Can you give me and HLA code without high langauage assembly that works? Heres my code when i run i get this error Error in file "programhla" at line errid:hlaparsec: syntax error, unexpected expecting
Near:
program hasDuplicates;
#includestdlibhhf
static
x: int;
y: int;
z: int;
procedure hasDuplicatesRecx: int; y: int; z: int; @nodisplay; @noframe;
begin hasDuplicatesRec;
cmpx y;
je checkDuplicates;
cmpx z;
je checkDuplicates;
cmpy z;
je checkDuplicates;
mov al; No duplicates found
jmp endProc;
checkDuplicates:
mov al; Duplicates found
endProc:
ret;
end hasDuplicatesRec;
begin hasDuplicates;
stdout.putFeed Me x: ;
stdin.getix;
stdout.putFeed Me y: ;
stdin.getiy;
stdout.putFeed Me z: ;
stdin.getiz;
hasDuplicatesRecx y z;
stdout.putAL al nl;
end hasDuplicates;
Can you make sure it runs? Also if a new hla is needed feel free to change it Thanks.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
