### Problem with SMB Disassembly?

Posted:

**Sat Jul 06, 2019 9:02 am**I'm not talking about the SMB3 disassembly used to create SMB3Mix, I mean this https://gist.github.com/1wErt3r/4048722

Anyways, I tried to compile this with NESASM3 but look what happens, a truckload of errors pop up.

Why is this?

Anyways, I tried to compile this with NESASM3 but look what happens, a truckload of errors pop up.

Why is this?

Operand missing!

3180 00:9436 asl

Operand missing!

3181 00:9436 asl

Operand missing!

3192 00:944B asl ;multiply by three (shift to left and add result to old one)

Operand missing!

3196 00:9450 lsr

Operand missing!

3197 00:9450 lsr

Operand missing!

3198 00:9450 lsr

Operand missing!

3199 00:9450 lsr

Operand missing!

3236 00:94A2 asl ;multiply by 2 and use as yet another offset

Operand missing!

3278 00:9502 asl

Operand missing!

3279 00:9502 rol ;make %xx000000 into %000000xx

Operand missing!

3280 00:9502 rol

Operand missing!

3319 00:953F asl ;check for page select bit (d7), branch if not set

Operand missing!

3435 00:9641 MoveAOId: lsr ;move d6-d4 to lower nybble

Operand missing!

3436 00:9641 lsr

Operand missing!

3437 00:9641 lsr

Operand missing!

3438 00:9641 lsr

Operand missing!

3463 00:967C lsr

Operand missing!

3464 00:967C lsr

Operand missing!

3465 00:967C lsr

Operand missing!

3466 00:967C lsr

Operand missing!

3554 00:9708 lsr ;move bits to lower nybble and store

Operand missing!

3555 00:9708 lsr ;as new background scenery bits

Operand missing!

3556 00:9708 lsr

Operand missing!

3557 00:9708 lsr

Operand missing!

3658 00:97B3 lsr

Operand missing!

4165 00:9B50 sty Enemy_Y_HighPos,x ;store vertical high byte

Incorrect addressing mode!

4236 00:9BC5 asl ;multiply by 16 to get size of whirlpool

Operand missing!

4237 00:9BC5 asl ;note that whirlpool will always be

Operand missing!

4238 00:9BC5 asl ;two blocks bigger than actual size of hole

Operand missing!

4239 00:9BC5 asl ;and extend one block beyond each edge

Operand missing!

4308 00:9C30 asl ;to obtain horizontal pixel coordinate

Operand missing!

4309 00:9C30 asl

Operand missing!

4310 00:9C30 asl

Operand missing!

4311 00:9C30 asl

Operand missing!

4318 00:9C34 asl

Operand missing!

4319 00:9C34 asl ;this will give us the proper vertical pixel coordinate

Operand missing!

4320 00:9C34 asl

Operand missing!

4321 00:9C34 asl

Operand missing!

4330 00:9C38 .db <Block_Buffer_1, <Block_Buffer_2

Syntax error in expression!

4331 00:9C38 .db >Block_Buffer_1, >Block_Buffer_2

Syntax error in expression!

4335 00:9C39 lsr ;move high nybble to low

Operand missing!

4336 00:9C39 lsr

Operand missing!

4337 00:9C39 lsr

Operand missing!

4338 00:9C39 lsr

Operand missing!

4365 00:9C60 asl

Operand missing!

4366 00:9C60 rol

Operand missing!

4367 00:9C60 rol

Operand missing!

4368 00:9C60 rol ;make %0xx00000 into %000000xx

Operand missing!

4418 00:9CC5 lsr ;shift bits over to LSBs

Operand missing!

4419 00:9CC5 lsr

Operand missing!

4420 00:9CC5 lsr

Operand missing!

4425 00:9CCC rol ;rotate bits over to LSBs

Operand missing!

4426 00:9CCC rol

Operand missing!

4427 00:9CCC rol

Operand missing!

4437 00:9CDD lsr

Operand missing!

4438 00:9CDD lsr ;shift bits to LSBs

Operand missing!

4439 00:9CDD lsr

Operand missing!

4440 00:9CDD lsr

Operand missing!

4445 00:9CE4 rol ;rotate bits over to LSBs

Operand missing!

4446 00:9CE4 rol

Operand missing!

4447 00:9CE4 rol

Operand missing!

4493 00:9D32 .db <E_CastleArea1, <E_CastleArea2, <E_CastleArea3, <E_CastleArea4, <E_CastleArea5, <E_CastleArea6

Syntax error in expression!

4494 00:9D32 .db <E_GroundArea1, <E_GroundArea2, <E_GroundArea3, <E_GroundArea4, <E_GroundArea5, <E_GroundArea6

Syntax error in expression!

4495 00:9D32 .db <E_GroundArea7, <E_GroundArea8, <E_GroundArea9, <E_GroundArea10, <E_GroundArea11, <E_GroundArea12

Syntax error in expression!

4496 00:9D32 .db <E_GroundArea13, <E_GroundArea14, <E_GroundArea15, <E_GroundArea16, <E_GroundArea17, <E_GroundArea18

Syntax error in expression!

4497 00:9D32 .db <E_GroundArea19, <E_GroundArea20, <E_GroundArea21, <E_GroundArea22, <E_UndergroundArea1

Syntax error in expression!

4498 00:9D32 .db <E_UndergroundArea2, <E_UndergroundArea3, <E_WaterArea1, <E_WaterArea2, <E_WaterArea3

Syntax error in expression!

4501 00:9D32 .db >E_CastleArea1, >E_CastleArea2, >E_CastleArea3, >E_CastleArea4, >E_CastleArea5, >E_CastleArea6

Syntax error in expression!

4502 00:9D32 .db >E_GroundArea1, >E_GroundArea2, >E_GroundArea3, >E_GroundArea4, >E_GroundArea5, >E_GroundArea6

Syntax error in expression!

4503 00:9D32 .db >E_GroundArea7, >E_GroundArea8, >E_GroundArea9, >E_GroundArea10, >E_GroundArea11, >E_GroundArea12

Syntax error in expression!

4504 00:9D32 .db >E_GroundArea13, >E_GroundArea14, >E_GroundArea15, >E_GroundArea16, >E_GroundArea17, >E_GroundArea18

Syntax error in expression!

4505 00:9D32 .db >E_GroundArea19, >E_GroundArea20, >E_GroundArea21, >E_GroundArea22, >E_UndergroundArea1

Syntax error in expression!

4506 00:9D32 .db >E_UndergroundArea2, >E_UndergroundArea3, >E_WaterArea1, >E_WaterArea2, >E_WaterArea3

Syntax error in expression!

4512 00:9D36 .db <L_WaterArea1, <L_WaterArea2, <L_WaterArea3, <L_GroundArea1, <L_GroundArea2, <L_GroundArea3

Syntax error in expression!

4513 00:9D36 .db <L_GroundArea4, <L_GroundArea5, <L_GroundArea6, <L_GroundArea7, <L_GroundArea8, <L_GroundArea9

Syntax error in expression!

4514 00:9D36 .db <L_GroundArea10, <L_GroundArea11, <L_GroundArea12, <L_GroundArea13, <L_GroundArea14, <L_GroundArea15

Syntax error in expression!

4515 00:9D36 .db <L_GroundArea16, <L_GroundArea17, <L_GroundArea18, <L_GroundArea19, <L_GroundArea20, <L_GroundArea21

Syntax error in expression!

4516 00:9D36 .db <L_GroundArea22, <L_UndergroundArea1, <L_UndergroundArea2, <L_UndergroundArea3, <L_CastleArea1

Syntax error in expression!

4517 00:9D36 .db <L_CastleArea2, <L_CastleArea3, <L_CastleArea4, <L_CastleArea5, <L_CastleArea6

Syntax error in expression!

4520 00:9D36 .db >L_WaterArea1, >L_WaterArea2, >L_WaterArea3, >L_GroundArea1, >L_GroundArea2, >L_GroundArea3

Syntax error in expression!

4521 00:9D36 .db >L_GroundArea4, >L_GroundArea5, >L_GroundArea6, >L_GroundArea7, >L_GroundArea8, >L_GroundArea9

Syntax error in expression!

4522 00:9D36 .db >L_GroundArea10, >L_GroundArea11, >L_GroundArea12, >L_GroundArea13, >L_GroundArea14, >L_GroundArea15

Syntax error in expression!

4523 00:9D36 .db >L_GroundArea16, >L_GroundArea17, >L_GroundArea18, >L_GroundArea19, >L_GroundArea20, >L_GroundArea21

Syntax error in expression!

4524 00:9D36 .db >L_GroundArea22, >L_UndergroundArea1, >L_UndergroundArea2, >L_UndergroundArea3, >L_CastleArea1

Syntax error in expression!

4525 00:9D36 .db >L_CastleArea2, >L_CastleArea3, >L_CastleArea4, >L_CastleArea5, >L_CastleArea6

Syntax error in expression!

4695 00:A006 .db $7b, $80, $ae, $00, $80, $8b, $8e, $e8, $05, $f9, $86

Bank overflow, offset > $1FFF!

# 173 error(s)