So I made a new Hex asmPrgm
Output to port 10h using a decimal value in Ans
Code:
Optimization welcomed and corrections also welcome, I have 0 experience with assembly but I experimented with the contrast hex code to make it. Here is the contrast code for comparison.
Code:
Output to port 10h using a decimal value in Ans
Code:
rst 28h //EF
rst 10h //D7
ld c,d //4A
rst 28h //EF
rst 28h //EF
ld c,d //4A
add a,c //C6D8
nop //00
out(10h),a //D310
ret //C9
Optimization welcomed and corrections also welcome, I have 0 experience with assembly but I experimented with the contrast hex code to make it. Here is the contrast code for comparison.
Code:
EFD74AEFEF4AC6D8D8D3107B324784C9