diff --git a/src/vm/fp_functions.cpp b/src/vm/fp_functions.cpp
index 35fd2ce..75b6903 100644
--- a/src/vm/fp_functions.cpp
+++ b/src/vm/fp_functions.cpp
@@ -123,18 +123,18 @@ uint16_t fcvt_h(uint16_t v1, uint16_t op, uint8_t mode) {
     softfloat_exceptionFlags = 0;
     float16_t r;
     switch(op) {
-    case 0: { // FCVT__W__S
+    case 0: { // FCVT__W__H
         uint_fast16_t res = f16_to_i32(v1f, mode, true);
         return (uint16_t)res;
     }
-    case 1: { // FCVT__WU__S
+    case 1: { // FCVT__WU__H
         uint_fast16_t res = f16_to_ui32(v1f, mode, true);
         return (uint16_t)res;
     }
-    case 2: // FCVT__S__W
+    case 2: // FCVT__H__W
         r = i32_to_f16((int16_t)v1);
         return r.v;
-    case 3: // FCVT__S__WU
+    case 3: // FCVT__H__WU
         r = ui32_to_f16(v1);
         return r.v;
     }