generated from tyrel/assembly-workspace-template
Initial commit
This commit is contained in:
commit
9cd7083a05
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM i686/ubuntu
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y build-essential wget vim zsh
|
||||
|
||||
RUN mkdir -p /code
|
||||
WORKDIR /code
|
||||
|
||||
RUN wget https://www.plantation-productions.com/Webster/HighLevelAsm/HLAv2.16/linux.hla.tar.gz --no-check-certificate
|
||||
|
||||
RUN tar -xzvf linux.hla.tar.gz
|
||||
RUN mv usr/hla /usr/
|
||||
|
||||
RUN cp /usr/hla/hla /bin
|
||||
RUN cp /usr/hla/hlaparse /bin
|
||||
RUN rm -rf usr
|
||||
|
||||
RUN rm linux.hla.tar.gz
|
||||
|
||||
CMD ["/bin/zsh"]
|
8
code/helloworld.hla
Normal file
8
code/helloworld.hla
Normal file
@ -0,0 +1,8 @@
|
||||
program helloWorld;
|
||||
#include( "stdlib.hhf" );
|
||||
|
||||
begin helloWorld;
|
||||
|
||||
stdout.put( "Hello, world", nl );
|
||||
|
||||
end helloWorld;
|
Loading…
Reference in New Issue
Block a user