MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1dc8cl3/deleted_by_user/l7zzwot/?context=3
r/java • u/[deleted]
[deleted] — view deleted post
594 comments sorted by
View all comments
Show parent comment
1
Assembly to C
Assembly CMP Input, WaterLevel MOV word[MC], 1 MOV word[MC], 2
.
C if ( input < WaterLevel) { MC = 1; } else if ( input == WaterLevel) { MC = 0; }
You can see how much dramatically more readable C is vs the assembly version.
View all comments
Show parent comment
1
u/RedPill115 Jun 10 '24 edited Jun 10 '24
Assembly to C
.
You can see how much dramatically more readable C is vs the assembly version.