..

HELLO 2025

Entering the new year

This post is a week late because I was sick and busy, but this has not stopped me from working and coming up with plans. I ended the year with Lulzmaku and I plan adding object pooling and an fps cap to it before focusing entirely on it. My main goal as of now is to get back to working on my platformer with all of skills I learned from Lulzmaku and my collision prototypes. I am also trying my best not to drown myself with side projects as many hobbyist programmers such as myself do.

What have I done in 2025 so far?

I have been studying more assembly more to get better at programming and because I also like to work on and reverse engineer lower level software. I’m not planning on making a massive project with it yet but I did make this repo to contain random UNIX assembly demos I make across a couple architectures such as i386, arm7, and RISC-V. Here is an example.

i386(nasm)

SYS_WRITE equ 4
SYS_EXIT  equ 1
FD_STDOUT equ 1

section .data
  str: db 'Hi!', 10
  strLen: equ $-str

section .text
  global _start

_start:
  mov eax, SYS_WRITE
  mov ebx, FD_STDOUT
  mov ecx, str
  mov edx, strLen
  int 0x80

  lea esi, [str]     ; point to str[0]
  mov al, byte [esi] ; put str[0] byte into al 
  shr al, 1          ; shift the first char to the right 
  mov byte [esi], al ; write byte of al to the str pointer

done:
  mov eax, SYS_WRITE
  mov ebx, FD_STDOUT
  mov ecx, str
  mov edx, strLen
  int 0x80
  
  mov eax, SYS_EXIT
  xor ebx, ebx
  int 0x80

ARM7(gas)

.equ SYS_WRITE, 4
.equ SYS_EXIT, 1
.equ FD_STDOUT, 1
.equ STR_LEN, 4

.text
.global _start

_start:
     mov r7, #SYS_WRITE
     mov r0, #FD_STDOUT
     ldr r1, =str
     mov r2, #STR_LEN
     svc 0
    
     ldr r5, =str
     ldrb r6, [r5]
     lsr r6, r6, #1
     strb r6, [r5]

done:
     mov r7, #SYS_WRITE
     mov r0, #FD_STDOUT
     ldr r1, =str
     mov r2, #STR_LEN
     svc 0


     mov r7, #SYS_EXIT
     mov r0, #0
     svc 0

.data
str:
    .asciz "Hi!\n"

The syntax highlighting is a tad bit off, but that can be fixed later. Have a Good Day.