This commit is contained in:
parent
0933e66e28
commit
cd4c7ac4fc
@ -37,8 +37,7 @@ jobs:
|
|||||||
run: ./src/build/ActionsTesting.exe
|
run: ./src/build/ActionsTesting.exe
|
||||||
- name: Prepare artifacts
|
- name: Prepare artifacts
|
||||||
run: |
|
run: |
|
||||||
pwd
|
echo "Current working directory: $PWD"
|
||||||
ls
|
|
||||||
Get-ChildItem -Path .\artifacts\ -Recurse | Remove-Item -force -recurse
|
Get-ChildItem -Path .\artifacts\ -Recurse | Remove-Item -force -recurse
|
||||||
Remove-Item .\artifacts\ -Force
|
Remove-Item .\artifacts\ -Force
|
||||||
$version = (Select-String -Path "build.gradle" -Pattern "version" | Where-Object { $_ -notmatch "id" -and $_ -notmatch ":" } | ForEach-Object { [regex]::Match($_, "'(.*?)'").Groups[1].Value })
|
$version = (Select-String -Path "build.gradle" -Pattern "version" | Where-Object { $_ -notmatch "id" -and $_ -notmatch ":" } | ForEach-Object { [regex]::Match($_, "'(.*?)'").Groups[1].Value })
|
||||||
|
17
src/main.asm
Normal file
17
src/main.asm
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
section .data
|
||||||
|
msg: DB 'Hello, World!', 10
|
||||||
|
msgSize EQU $ - msg
|
||||||
|
|
||||||
|
global start
|
||||||
|
|
||||||
|
section .text
|
||||||
|
start:
|
||||||
|
mov rax, 4 ; function 4
|
||||||
|
mov rbx, 1 ; stdout
|
||||||
|
mov rcx, msg ; msg
|
||||||
|
mov rdx, msgSize ; size
|
||||||
|
int 0x80 ; intercept (run)
|
||||||
|
mov rax, 1 ; function 1
|
||||||
|
mov rbx, 0 ; code
|
||||||
|
int 0x80 ; intercept (run)
|
||||||
|
ret
|
Loading…
Reference in New Issue
Block a user