--- /dev/null
+#objdump: -dr
+#name: FFxx1
+
+# Test for FFxx:8 addressing.
+
+.*: file format .*h8300.*
+
+Disassembly of section .text:
+...
+ RELOC: 0+0000 16 main
+0+0400 <main> f8 7f mov.b #0x7f,r0l
+0+0402 <main[+]2> 28 bb mov.b @0xbb:8,r0l
+0+0404 <main[+]4> 6a 88 ff b9 mov.b r0l,@0xffb9:16
+0+0408 <main[+]8> f8 01 mov.b #0x1,r0l
+0+040a <loop> 6a 88 ff bb mov.b r0l,@0xffbb:16
+0+040e <delay> 79 01 00 00 mov.w #0x0,r1
+0+0412 <deloop> 0b 01 adds #0x1,er1
+0+0414 <deloop[+]2> 46 00 bne .0 \(416\)
+ RELOC: 0+0415 DISP8 deloop[+]0xffff+
+0+0416 <deloop[+]4> 12 88 rotl r0l
+0+0418 <deloop[+]6> 40 00 bra .0 \(41a\)
+ RELOC: 0+0419 DISP8 loop[+]0xffff+
--- /dev/null
+ .equ p6ddr, 0xffb9 ;0x7f for output
+ .equ p6dr, 0xffbb
+ .equ seed, 0x01
+ .text
+ .org 0
+reset: .word main ;reset vector
+;
+ .org 0x400
+main: mov.b #0x7f,r0l ;port 6 ddr = 7F
+ mov.b @0xffbb:8,r0l ;***test***
+ mov.b r0l,@p6ddr:16
+;
+ mov.b #seed,r0l ;start with 0000001
+loop: mov.b r0l,@p6dr:16 ;output to port 6
+delay: mov.w #0x0000,r1
+deloop: adds.w #1,r1
+ bne deloop:8 ;not = 0
+ rotl r0l
+ bra loop:8