private void verifyErrorBookmark(Address addr, String text) {
		assertEquals("Expected error bookmark at " + addr, 1,
			program.getBookmarkManager().getBookmarkCount());

		Bookmark errMark = program.getBookmarkManager().getBookmark(addr, BookmarkType.ERROR,
			Disassembler.ERROR_BOOKMARK_CATEGORY);
		assertNotNull("Expected error bookmark at " + addr, errMark);

		if (text != null) {
			assertTrue("Expected error bookmark at " + addr + " to contain text: " + text,
				errMark.getComment().indexOf(text) >= 0);
		}

	}
** Diagnostic Aid ** Dump context register values
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/disassemble/DisassemblerTest.java