Floating-Point Arithmetic in MIPS | Conversion, Operations & Printing

Опубликовано: 07 Апрель 2026
на канале: KCtops6
381
6

Learn how to work with floating-point numbers in MIPS assembly! 🧮 In this tutorial, I cover how to load integers, convert them to floats, perform arithmetic operations, and print results using the MARS simulator.

🔹 Topics Covered:
1️⃣ Loading Integers & Converting to Floats – Using mtc1 and cvt.s.w
2️⃣ Performing Floating-Point Operations – Using add.s, sub.s, mul.s, div.s
3️⃣ Printing Floating-Point Values – Using li $v0, 2 and mov.s $f12, $fX

📌 Perfect for beginners learning MIPS floating-point operations!

👍 Like, subscribe, and hit the notification bell for more MIPS tutorials!

#MIPS #Assembly #FloatingPoint #MARS #ComputerArchitecture