prepareing for next thing

This commit is contained in:
Edward R. Gonzalez 2024-11-25 01:01:29 -05:00
parent 03b272d91e
commit da70d0adf9
2 changed files with 17 additions and 8 deletions

View File

@ -17,14 +17,23 @@ $fasmg = join-path $path_fasmg 'fasmg.exe'
verify-path $path_build verify-path $path_build
push-location $path_build push-location $path_build
function build-hello function build-hello {
{
$env:include = join-path $path_fasm2 'include' $env:include = join-path $path_fasm2 'include'
$asm_hello = join-path $path_source 'hello.asm' $asm_hello = join-path $path_source 'hello.asm'
$exe_hello = 'hello.exe' $exe_hello = 'hello.exe'
& $fasmg $asm_hello $exe_hello & $fasmg $asm_hello $exe_hello
} # & $fasm $asm_hello '-s' 'hello.fas'
build-hello }
build-hello
function build-copy_hello {
$env:include = join-path $path_fasm2 'include'
$local:asm = join-path $path_source 'copy_hello.asm'
$local:exe = 'copy_hello.exe'
& $fasmg $asm $exe
}
# build-copy_hello
pop-location pop-location

0
source/copy_hello.asm Normal file
View File