text stringlengths 1 1.05M |
|---|
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM uint_number_zero:QWORD
COMM uint_number_one:QWORD
_DATA ENDS
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@... |
;****************************************************************************************
; File Name : aic_test_main.asm
; Author : Sunil Kamath
;
; Version : 2
; Date : 30 April 2008
; Update : with Ping Pong Buffering
;
; Description : Code for playback using I2S2 and DMA1 to... |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24))
ftyp_start:
dd BE(ftyp_end - ftyp_start)
dd "ftyp"
db 0x61, 0x76, 0x69, 0x66 ; brand(32) ('avif')
db 0x00, 0x00, 0x00, 0x00 ; version(32)
db 0x61, 0x76, 0x69, 0x66 ; compatible_... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="addr=0, length=4096, prot=7, flags=34, fd=-1, offset=0"/>
<%docstring>
Invokes the syscall mmap. See 'man 2 mmap' for more information.
Arguments:
addr(void): addr
length(size_t): length
prot(int): prot
flags(int): flags
fd... |
.size 8000
.data@0
01
.text@48
jp lstatint
.data@9c
02 03 04 05
.text@100
jp lbegin
.data@143
c0 00 00 00 1a 00 03
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitly90:
ldff a, (c)
cmp a, b
jrnz lbegin_waitly90
ld a, 0a
ld(0000), a
ld hl, fe00
ld c, a0
ld a, a0
lbegin_fill_oam:
ld(hl++), a
dec c
... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2012-2018 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
DATA SEGMENT
N1 DB 00010000B
RES DB ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE, DS:DATA
START:
MOV AX, DATA
MOV DS, AX
MOV AH, 0000H
MOV AL, N1
NOT AL
ADD AL, 00000001B
MOV RES, AL
CODE ENDS
END START
|
#include "Button3.h"
myButton::myButton()
{
delayTime = 0.3f;
elapsedTime = 0.0f;
isClicked = false;
upTexture = LoadTexture("assets/blue_button00.png");
downTexture = LoadTexture("assets/blue_button13.png");
bounds = { 0.0f, 0.0f, (float)upTexture.width, (float)upTexture.height };
}
myButton::myButton(const s... |
title "User Mode Dispatcher Code"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; userdisp.asm
;
; Abstract:
;
; The module contains procedures to do user mode dispatching
; ("trampolining") of user apcs and user exceptions.
;
; Author:
;
; Bryan M Willman (br... |
; A176414: Expansion of (7+8*x)/(1+2*x).
; Submitted by Jamie Morken(s2)
; 7,-6,12,-24,48,-96,192,-384,768,-1536,3072,-6144,12288,-24576,49152,-98304,196608,-393216,786432,-1572864,3145728,-6291456,12582912,-25165824,50331648,-100663296,201326592,-402653184,805306368,-1610612736,3221225472,-6442450944,12884901888,-2576... |
_setSeedX: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
; Created with Stephane Hockenhull's Game Boy Tracker
; Music Patterns
SECTION "Title Theme Pattern 0", ROMX
PATTERN_Title0:
DB $0A
DB $07, $02, $09, $01, $0E, $06, $02, $23, $06, $00, $0B, $02, $09, $02, $02, $0B, $02, $2F, $0B, $01, $0E, $06, $02, $27, $0B, $01, $14, $06, $02, $2B, $06, $01
DB $0C, $02... |
;
;
; ZX Maths Routines
;
; 7/12/02 - Stefano Bodrato
;
; $Id: atan.asm,v 1.5 2016-06-22 19:59:18 dom Exp $
;
;double atan(double)
;Number in FA..
IF FORts2068
INCLUDE "target/ts2068/def/ts2068fp.def"
ENDIF
IF FORzx
INCLUDE "target/zx/def/zxfp.def"
ENDIF
IF FORzx81
INCLUDE "target/zx81/de... |
; A151781: Partial sums of A151779.
; 1,7,13,43,49,79,109,259,265,295,325,475,505,655,805,1555,1561,1591,1621,1771,1801,1951,2101,2851,2881,3031,3181,3931,4081,4831,5581,9331,9337,9367,9397,9547,9577,9727,9877,10627,10657,10807,10957,11707,11857,12607,13357,17107,17137,17287,17437,18187,18337,19087,19837,23587,23737,24... |
_v$ = 8 ; size = 4
bool find_epi32(std::vector<int,std::allocator<int> > const &) PROC ; find_epi32, COMDAT
mov ecx, DWORD PTR _v$[esp-4]
mov eax, DWORD PTR [ecx+4]
mov ecx, DWORD PTR [ecx]
cmp ecx, eax
je SHORT $LN35@fin... |
.text
.arm
.global _gio_a5_on_
.asmfunc
_gio_a5_on_
; for gioREG Setting
ldr r4, gio_reg ; ldr: 포인터 참조 연산과 같은 일을 했다.
mov r6, #0x01
str r6, [r4]
mov r6, #0xFF
str r6, [r4, #0x14]
str r6, [r4, #0x08]
; for gioPORTA Setting
ldr r5, gio_a
mov r6, #0x20
str r6, [r5]
str r6, [r5, #0x1C]
... |
@********************************************************************
@* *
@* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
@* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
@* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
; A305291: Numbers k such that 4*k + 3 is a perfect cube, sorted by absolute values.
; -1,6,-32,85,-183,332,-550,843,-1229,1714,-2316,3041,-3907,4920,-6098,7447,-8985,10718,-12664,14829,-17231,19876,-22782,25955,-29413,33162,-37220,41593,-46299,51344,-56746,62511,-68657,75190,-82128,89477,-97255,105468,-114134,123259,-... |
; A118753: First prime after 4n. Smallest prime >= 4*n. Bisection of A060264.
; 2,5,11,13,17,23,29,29,37,37,41,47,53,53,59,61,67,71,73,79,83,89,89,97,97,101,107,109,113,127,127,127,131,137,137,149,149,149,157,157,163,167,173,173,179,181,191,191,193,197,211,211,211,223,223,223,227,229,233,239,241,251,251,257,257,263,269... |
; A056827: a(n) = floor(n^2/6).
; 0,0,0,1,2,4,6,8,10,13,16,20,24,28,32,37,42,48,54,60,66,73,80,88,96,104,112,121,130,140,150,160,170,181,192,204,216,228,240,253,266,280,294,308,322,337,352,368,384,400,416,433,450,468,486,504,522,541,560,580,600,620,640,661,682,704,726,748,770,793,816,840,864,888,912,937,962,988,1014,10... |
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but ... |
// https://github.com/PeterLemon/N64
endian msb
arch n64.rsp
include "LIB/N64.INC" // Include N64 Definitions
include "LIB/N64_GFX.INC" // Include Graphics Macros
include "LIB/N64_RSP.INC" // Include RSP Macros
align(8) // Align 64-Bit
base $0000 // Set Base Of RSP Code Object To Zero
lqv v0[e0],$00(r0) // V0 = 128... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... |
; A037601: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0.
; Submitted by Jamie Morken(s2)
; 1,11,88,705,5643,45144,361153,2889227,23113816,184910529,1479284235,11834273880,94674191041,757393528331,6059148226648,48473185813185,387785486505483,3102283892043864
seq $0,3... |
; 0 - POP local 0
leaw $SP, %A
movw (%A), %A
decw %A
movw (%A), %D
leaw $LCL, %A
movw (%A), %S
leaw $0, %A
addw %S, %A, %A
movw %D, (%A)
leaw $SP, %A
movw (%A), %A
decw %A
movw %A, %S
leaw $SP, %A
movw %S, (%A)
; 1 - POP local 1
leaw $SP, %A
movw (%A), %A
decw %A
movw (%A), %D
leaw $LCL, %A
movw (%A), %S
leaw $1, %A
ad... |
; A024150: a(n) = 12^n - n^10.
; 1,11,-880,-57321,-1027840,-9516793,-57480192,-246643441,-643760128,1672995951,51917364224,717070946087,8854183084032,106855346887223,1283629209893888,15406444924195743,184883159383408640,2218609090746536543,26623329710418017280,319479993239556669047,3833759982207475122176,46005119892689... |
#include "WindowsInclude.h"
#include "DeviceContext.h"
#include "WindowsException.h"
namespace Wex
{
DeviceContext::DeviceContext(HDC dc)
: dc(dc)
{
}
DeviceContext::operator HDC() const
{
return dc;
}
HGDIOBJ DeviceContext::Select(HGDIOBJ object)
{
AssertValid();
return ::SelectObject(dc, object);
... |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) )
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1", "miaf"
ftyp_end:
meta_start:
dd BE(meta_end - meta_start)
db "meta"
dd BE(0)
hdlr_start:
dd BE(hdlr_end - hdlr... |
db 0 ; species ID placeholder
db 70, 80, 50, 35, 35, 35
; hp atk def spd sat sdf
db FIGHTING, FIGHTING ; type
db 180 ; catch rate
db 88 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/macho... |
#include "tree_ctr_datasets_visitor.h"
#include "pointwise_scores_calcer.h"
namespace NCatboostCuda {
void TTreeCtrDataSetVisitor::Accept(const TTreeCtrDataSet& ctrDataSet,
const TMirrorBuffer<const TPartitionStatistics>& partStats,
co... |
; A051170: T(n,5), array T as in A051168; a count of Lyndon words; aperiodic necklaces with 5 black beads and n-5 white beads.
; 0,1,3,7,14,25,42,66,99,143,200,273,364,476,612,775,969,1197,1463,1771,2125,2530,2990,3510,4095,4750,5481,6293,7192,8184,9275,10472,11781,13209,14763,16450,18278,20254,22386,24682,27150,29799,... |
// stdafx.cpp : source file that includes just the standard includes
// GeoXTool.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you ma... |
/*! \file version.cpp
* \brief Version information.
*
* $Id$
*
*/
#include "copyright.h"
#include "autoconf.h"
#include "config.h"
#include "externs.h"
#include "command.h"
#if !(defined(MUX_BUILD_VER_ID) \
&& defined(MUX_BUILD_BUILDER) ... |
.data
message: .asciiz "Name: "
newline: .asciiz "\n"
rollCall: .asciiz "Roll No: "
userName: .space 30
userRoll: .space 10
.text
#Main function
main:
#Taking name as input from the user
li $v0, 8
la $a0, userName
li $a1, 30
syscall
#Taking roll as input from the user
li $v0, 8
la $a0, userRoll
li $a1, 10
sysca... |
; A028992: Even 9-gonal (or enneagonal) numbers.
; 0,24,46,154,204,396,474,750,856,1216,1350,1794,1956,2484,2674,3286,3504,4200,4446,5226,5500,6364,6666,7614,7944,8976,9334,10450,10836,12036,12450,13734,14176,15544,16014,17466,17964,19500,20026,21646,22200,23904,24486,26274,26884,28756,29394,31350,32016,34056,34750,368... |
#include <iostream>
#include <thread>
int main() {
unsigned int n_cores = std::thread::hardware_concurrency();
std::cout << "This machine supports concurrency with "
<< n_cores << " cores available"
<< std::endl;
return 0;
} |
// include file for dir_end2.a80
ld hl,verifyLabel ; label from first file
ld de,verifyLabelFrom_dir_end3.a80
END
And that's all from this include file.
|
; A052685: E.g.f. (1-x^2)/(1-x-2x^2+x^4).
; Submitted by Christian Krause
; 1,1,4,24,168,1680,18720,252000,3830400,65681280,1251936000,26225337600,599710003200,14851444608000,396138155212800,11320537003776000,345079573622784000,11176410365632512000
mov $2,$0
seq $0,52535 ; Expansion of (1-x)*(1+x)/(1-x-2*x^2+x^4).
lpb... |
; int fgetc(FILE *stream)
INCLUDE "clib_cfg.asm"
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC fgetc
EXTERN asm_fgetc
fgetc:
push hl
pop ix
jp asm_fgetc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
... |
.text
### Load values to registers $t0-$t1
li $t0, 10
li $t1, 2
### Load values to registers $t0-$t1
div $s0, $t0, $t1 # $s0 = $t0 / $t1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x83aa, %rdi
nop
nop
nop
nop
nop
add %r11, %r11
mov $0x6162636465666768, %rbp
movq %rbp, %xmm5
movups %xmm5, (%rdi)
nop
nop
sub $22470, %r12
lea addresses_normal_ht+0x1beea, %r... |
; A004941: Nearest integer to n*phi^6, where phi is the golden ratio, A001622.
; 0,18,36,54,72,90,108,126,144,161,179,197,215,233,251,269,287,305,323,341,359,377,395,413,431,449,467,484,502,520,538,556,574,592,610,628,646,664,682,700,718,736,754,772
mov $2,19
mov $3,$0
add $3,4
mov $4,1
mov $5,$0
mov $6,5
lpb $0
mov... |
; uint in_KeyPressed(uint scancode)
SECTION code_clib
PUBLIC in_KeyPressed
PUBLIC _in_KeyPressed
EXTERN in_getrow
INCLUDE "target/pasopia7/def/pasopia7.def"
; Determines if a key is pressed using the scan code
; returned by in_LookupKey.
; enter : l = scan row
; h = key mask
; exit : carry = key is pressed ... |
; A188010: Positions of 0 in A188009; complement of A101866.
; 1,2,3,4,6,7,8,9,11,12,14,15,16,17,19,20,21,22,24,25,27,28,29,30,32,33,35,36,37,38,40,41,42,43,45,46,48,49,50,51,53,54,55,56,58,59,61,62,63,64,66,67,69,70,71,72,74,75,76,77,79,80,82,83,84,85,87,88,90,91,92,93,95,96,97,98,100,101,103,104,105,106,108,109,110,1... |
//////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... |
TITLE PROLOG -
INCLUDE MACROS
PUBLIC PERFORM_VERIFY
.DATA
SOFT EXTB SYMBOL_TPTR
SOFT EXTW SYMBOL_LENGTH
SOFT EXTCA OPTI_MOVE
.CODE MIDDLE_TEXT
SOFT EXTP FAR_INSTALL,SEARCH_RAINBOW_AXBX,ERR_ABORT,LNAME_INSTALL
SOFT EXTA CANNOT_LINK_ERR
ASSUME DS:NOTHING
PERFORM_VERIFY PROC
;
;LOOK FOR CL... |
; Display day of week based on the input number.
.model small
.stack 100h
.data
table dw day1, day2, day3, day4, day5, day6, day7
crlf db 0dh, 0ah, '$'
s0 db 'please input number between 1 to 7$'
s1 db 'Monday$'
s2 db 'Tuesday$'
s3 db 'Wednesday$'
s4 db 'Thur... |
//
// Created by Phong Cao on 2019-03-22.
//
// uncomment to disable assert()
// #define NDEBUG
#include <cassert>
#include <iostream>
#include <iomanip>
#include <ios>
#include <sstream>
#include <fstream>
#include <string>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <functional>
#include <vector>
#... |
; subroutine for reading the contents of a "struct sp1_pss" into registers
; 02.2008 aralbrec
; ts2068 hi-res version
PUBLIC SP1PSPOP
; enter : de = & string to print (or something else)
; hl = & struct sp1_pss to read
;
; exit : hl = address of string to print
; e = flags (bit 0 = invalidate?, bi... |
/*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2013
*/
#include "walletstack.h"
#include "walletview.h"
#include "fluxgui.h"
#include <QMap>
#include <QMessageBox>
WalletStack::WalletStack(QWidget *parent) :
QStackedWidget(parent),
gui(0),
clientModel(0),
bOut... |
; A137204: Decimal expansion of e + 1/e.
; Submitted by Jon Maiga
; 3,0,8,6,1,6,1,2,6,9,6,3,0,4,8,7,5,5,6,9,5,5,8,1,1,2,4,1,5,1,4,1,2,3,3,6,5,2,0,3,0,5,8,2,2,4,7,3,1,7,2,7,4,0,9,4,7,4,8,0,4,4,2,9,4,2,1,5,3,8,1,2,6,0,9,8,4,4,7,3,9,7,9,2,8,5,2,9,4,5,2,8,7,1,0,8,6,0,7,1
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
sub $3,1
lpb $... |
; uint in_Inkey(void)
; 05.2018 suborb
; Read current state of keyboard but only return
; keypress if a single key is pressed.
SECTION code_clib
PUBLIC in_Inkey
PUBLIC _in_Inkey
EXTERN in_keytranstbl
; exit : carry set and HL = 0 for no keys registered
; else HL = ASCII character code
; uses : AF,BC,DE,HL
.i... |
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; Licensed under the MIT License.
;
; Module Name:
;
; SgemmKernelM1Avx.asm
;
; Abstract:
;
; This module implements the kernels for the single precision matrix/matrix
; multiply operation (SGEMM). This handles the special case of M=1.
;
; This... |
; A152032: a(n) = 3/8+(3/8)*(-1)^n+((n+1)/4)*(-1)^(n+1)+((n+2)*(n+1)/4)*(-1)^(n+2).
; 1,-1,3,-4,7,-9,13,-16,21,-25,31,-36,43,-49,57,-64,73,-81,91,-100,111,-121,133,-144,157,-169,183,-196,211,-225,241,-256,273,-289,307,-324,343,-361,381,-400,421,-441,463,-484,507,-529,553,-576,601,-625,651
mov $3,$0
pow $0,2
add $0,1
m... |
;
; Colour Genie EG2000 graphics routines
; Fast background restore
;
;
; $Id: bkrestore.asm $
;
SECTION code_clib
PUBLIC bkrestore
PUBLIC _bkrestore
EXTERN pixeladdress
EXTERN __graphics_end
.bkrestore
._bkrestore
; __FASTCALL__ : sprite ptr in HL
push ix ;save callers
push hl
pop ... |
tilecoll WALL, WALL, WALL, WALL ; 00
tilecoll STAIRCASE, WALL, FLOOR, FLOOR ; 01
tilecoll WALL, STAIRCASE, FLOOR, FLOOR ; 02
tilecoll WALL, WALL, FLOOR, FLOOR ; 03
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04
tilecoll STAIRCASE, WALL, FLOOR, FLOOR ; 05
tilecoll FLOOR, FLOOR, FLOOR, WARP_CARPET_DOWN ; 06
tilecoll WA... |
segment .text
align 4
global _main:function
_main:
align 4
xpl:
push ebp
mov ebp, esp
sub esp, 4
push dword 0
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
push dword 10
call printi
add esp, 4
lea eax, [ebp+-4]
push eax
pop eax
push dword [eax]
pop eax
leave
ret
extern argc
extern argv
ex... |
; A126900: Coordination sequence for 6-dimensional cyclotomic lattice Z[zeta_18].
; 1,18,144,702,2448,6786,15984,33390,63648,112914,189072,301950,463536,688194,992880,1397358,1924416,2600082,3453840,4518846,5832144,7434882,9372528,11695086,14457312,17718930,21544848,26005374,31176432,37139778,43983216
seq $0,60446 ; N... |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1c4d7, %rcx
nop
cmp %r9, %r9
movups (%rcx), %xmm6
vpextrq $1, %xmm6, %r8
nop
nop
nop
nop
and %r11, %r11
lea addresses_WC_ht+0x9117, %r13
nop
nop
nop
inc %rsi
movups (%r13), %xm... |
;===============================================================================
; Copyright 2020-2021 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apa... |
; A130818: Decimal expansion of number whose Engel expansion is the sequence of squares, that is, 1, 4, 9, 16,...
; 1,2,7,9,5,8,5,3,0,2,3,3,6,0,6,7,2,6,7,4,3,7,2,0,4,4,4,0,8,1,1,5,3,3,3,5,3,2,8,5,8,4,1,1,0,2,7,8,5,4,5,9,0,5,4,0,7,0,8,3,9,7,5,1,6,6,4,3,0,5,3,4,3,2,3,2,6,7,6,3,4,2,7,2,9,5,1,7,0,8,8,5,5,6,4,8,5,8,9,8
mov... |
org 100h
include "emu8086.inc"
.model small
.stack 100h
.data
.code
main proc
call multiplication
mov ah,4ch
int 21h
main endp
DEFINE_SCAN_NUM
DEFINE_PRINT_NUM
DEFINE_PRINT_NUM_UNS
DEFINE_PRINT_STRING
multiplication pr... |
; TITLE TTY - TTY output routine for MSHERC.
;***
;TTY
;
; Copyright <C> 1987, 1988, Microsoft Corporation
;
;Purpose:
; TTY output routine for MSHERC.
;
;******************************************************************************
include hgcdefs.inc
code segment para public 'code'
assu... |
; A253655: Number of monic irreducible polynomials of degree 6 over GF(prime(n)).
; 9,116,2580,19544,295020,804076,4022064,7839780,24670536,99133020,147912160,427612404,791672280,1053546956,1796518224,3694034916,7030054140,8586690620,15076346164,21349986840,25222305336,40514492720,54489965796,82830096360,138828513824,1... |
; A105163: a(n) = (n^3 - 7*n + 12)/6.
; 1,1,3,8,17,31,51,78,113,157,211,276,353,443,547,666,801,953,1123,1312,1521,1751,2003,2278,2577,2901,3251,3628,4033,4467,4931,5426,5953,6513,7107,7736,8401,9103,9843,10622,11441,12301,13203,14148,15137,16171,17251,18378,19553,20777,22051,23376,24753,26183,27667,29206,30801,32453,3... |
; void PSGRestoreVolumes(void)
SECTION code_clib
SECTION code_PSGlib
PUBLIC PSGRestoreVolumes
EXTERN asm_PSGlib_RestoreVolumes
defc PSGRestoreVolumes = asm_PSGlib_RestoreVolumes
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _PSGRestoreVolumes
defc _PSGRestoreVolumes = PSGRestoreVolumes
ENDIF
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rax
push %rsi
lea addresses_normal_ht+0xbd02, %rax
nop
nop
and %r11, %r11
movw $0x6162, (%rax)
nop
nop
nop
xor %rsi, %rsi
lea addresses_D_ht+0x6742, %r12
cmp %r15, %r15
mov (%r12), %r13d
nop
nop
nop
nop
nop
sub %r15, %r15
pop %rs... |
launchship_page_marker DB "LaunchShipPG65"
launchdraw_table DB $7E,$3F, $04,$02, $66 ; purple blue
launchdraw_rowsize equ $-launchdraw_table
DB $7C,$3E, $08,$04, $66
DB $7A,$3D, $0C,$06, $66
DB $78,$3C, $10,$08, $66
... |
#include <common/DateLUTImpl.h>
#include <Common/StringUtils/StringUtils.h>
#include <IO/ReadBuffer.h>
#include <IO/ReadHelpers.h>
#include <IO/WriteHelpers.h>
#include <IO/parseDateTimeBestEffort.h>
namespace DB
{
namespace ErrorCodes
{
extern const int LOGICAL_ERROR;
extern const int CANNOT_PARSE_DATETIME... |
; branch if carry
LDI #1 ; 00010000 00000001 0x1001
STA #0x01 ; 00100000 00000001 0x2001
BRC #0x0 ; 01010000 00000000 0x5000
LDI #0 ; 00010000 00000000 0x1000
SUB #0x01 ; 10100000 00000001 0xA001
BRC #0x0 ; 01010000 00000000 0x5000
|
; A085438: a(n) = Sum_{i=1..n} binomial(i+1,2)^3.
; 1,28,244,1244,4619,13880,35832,82488,173613,339988,627484,1102036,1855607,3013232,4741232,7256688,10838265,15838476,22697476,31958476,44284867,60479144,81503720,108503720,142831845,186075396,240085548,307008964,389321839,489866464,611890400,759088352,935646833,1146291... |
;
; z88dk GFX library
;
; Render the "stencil".
; The dithered horizontal lines base their pattern on the Y coordinate
; and on an 'intensity' parameter (0..11).
; Basic concept by Rafael de Oliveira Jannone
;
; Machine code version by Stefano Bodrato, 22/4/2009
;
; stencil_render(unsigned char *stencil, unsigned char... |
; A245593: a(n) = (R_n)^n.
; Submitted by Christian Krause
; 1,121,1367631,1523548331041,169342410709747836551,1881665133128606900860142518161,2090750117762021873788017450039922462386871,232305712669729896500117628007183171975956078054818623681,2581174768482624149493549155062886015819364354785066837288515125486819591,2... |
1
1;JGT
1;JEQ
1;JGE
1;JLT
1;JNE
1;JLE
1;JMP
-1
-1;JGT
-1;JEQ
-1;JGE
-1;JLT
-1;JNE
-1;JLE
-1;JMP
D
D;JGT
D;JEQ
D;JGE
D;JLT
D;JNE
D;JLE
D;JMP
A
A;JGT
A;JEQ
A;JGE
A;JLT
A;JNE
A;JLE
A;JMP
!D
!D;JGT
!D;JEQ
!D;JGE
!D;JLT
!D;JNE
!D;JLE
!D;JMP
!A
!A;JGT
!A;JEQ
!A;JGE
!A;JLT
!... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TSTArchives.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "TSTArchives.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>... |
segment .text
align 4
f:
push ebp
mov ebp, esp
sub esp, 4
push dword 2
push dword [esp]
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
add esp, 4
lea eax, [ebp+-4]
push eax
pop eax
push dword [eax]
pop eax
leave
ret
align 4
global _main:function
_main:
align 4
xpl:
push ebp
mov ebp, esp
... |
dnl x86-64 mpn_addmul_1 and mpn_submul_1, optimized for "Core 2".
dnl Copyright 2003-2005, 2007-2009, 2011, 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;; ADC HANDLER ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;... |
; A329305: Denominators of convergents to A309930, the constant whose continued fraction representation consists of the cubes, [0; 1, 8, 27, 64, ...].
; Submitted by Christian Krause
; 1,1,9,244,15625,1953369,421943329,144728515216,74101421733921,54020081172543625,54020155273965358921,71900880689729065267476,1242447758... |
#import "64spec/lib/64spec.asm"
#import "../lib/invoke-global.asm"
sfspec: init_spec()
describe("copyLargeMemForward")
it("copies 7 bytes forward non overlapping"); {
c64lib_pushParamW(dataToBeMoved)
c64lib_pushParamW(targetLocation)
c64lib_pushParamW(7)
jsr copyLargeMemForward
assert_bytes... |
; A208537: Number of 7-bead necklaces of n colors not allowing reversal, with no adjacent beads having the same color.
; 0,0,18,312,2340,11160,39990,117648,299592,683280,1428570,2783880,5118828,8964072,15059070,24408480,38347920,58619808,87460002,127695960,182857140,257298360,356336838,486403632,655210200,871930800,114... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinunits.h"
#inclu... |
; ---------------------------------------------------------------------------
; Subroutine to push Sonic down a slope
; ---------------------------------------------------------------------------
; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||
Sonic_SlopeRepel:
nop
tst.b $38(a0)
... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; https://adventofcode.com/2020/day/20 (part 2)
OPT listoff : DEVICE ZXSPECTRUMNEXT : MMU 0 7, 0, $0000
inputFile: ; load the input.txt into virtual device memory for processing
; INCBIN "input_t.txt" ; expected result: 273
INCBIN "input.txt"
inputEnd:
ASSERT "\n" == {b $-1} ; verify there is endi... |
/******************************************************************************
*
* Project: SVG Translator
* Purpose: Implements OGRSVGDataSource class
* Author: Even Rouault, even dot rouault at spatialys.com
*
******************************************************************************
* Copyright (c) 2... |
li $t0,5 #a
li $t1,3 #b
li $t2,3 #c
beq $t0,$t1,if
j else
if:add $t2,$t0,$t1
else:sub $t2,$t0,$t1
print:
li $v0,1
move $a0,$t2
syscall
|
; A110801: Numbers n such that 12n + 1 is prime.
; 1,3,5,6,8,9,13,15,16,19,20,23,26,28,29,31,33,34,35,36,38,45,48,50,51,55,56,59,61,63,64,69,71,73,78,83,84,85,86,89,91,93,94,96,100,101,103,104,108,110,115,119,121,124,129,133,134,135,138,139,141,145,146,148,149,150,155,156,161,166,168,169,171,174,176,178,180,185,189,190... |
//=================================================================================================
/*!
// \file src/eigen/TDMatTDMatMult.cpp
// \brief Source file for the Eigen transpose dense matrix/transpose dense matrix multiplication kernel
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... |
#include <cstdio>
#include "fish.h"
#include "bird.h"
#include "beast.h"
/**
* Enter Animal parameters from file.
* @param \*file The file stream used for the data.
* @return The Animal with given properties.
*/
Animal* Animal::staticIn(FILE *file) {
Animal* a = nullptr;
int k;
fscanf(file,"%i", &k);
... |
.module teste1
.pseg
;; testa salto condicional neg, carry e overflow
;; r7=0x0001
;; r0 = 0xaa55
;; r1 = 0xffff
;; r2 = 0xaa55 (0x0000 Errado)
;; r3 = 0xaa55 (senao flag de carry no lsl)
;; r4 = r3(0xaa55) (0x54aa Errado)
main:
loadlit r7,-1
loadlit ... |
Name: zel_vma.asm
Type: file
Size: 47524
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 703CD95A3CBC3077B0F3141CE8B3A92FA5219F4B
Description: null
|
; A122788: (1,3)-entry of the 3 X 3 matrix M^n, where M = {{0, -1, 1}, {1, 1, 0}, {0, 1, 1}}.
; 0,1,1,0,0,2,4,4,4,8,16,24,32,48,80,128,192,288,448,704,1088,1664,2560,3968,6144,9472,14592,22528,34816,53760,82944,128000,197632,305152,471040,727040,1122304,1732608,2674688,4128768,6373376,9838592,15187968,23445504,36192256... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CD Audio Interface
FILE: cdplayer.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Fred 4/91 Initial version
Fred 11/91 F... |
; A003499: a(n) = 6*a(n-1) - a(n-2), with a(0) = 2, a(1) = 6.
; 2,6,34,198,1154,6726,39202,228486,1331714,7761798,45239074,263672646,1536796802,8957108166,52205852194,304278004998,1773462177794,10336495061766,60245508192802,351136554095046,2046573816377474,11928306344169798,69523264248641314,405211279147678086,23617444... |
; int obstack_grow0(struct obstack *ob, void *data, size_t size)
SECTION code_alloc_obstack
PUBLIC _obstack_grow0
EXTERN asm_obstack_grow0
_obstack_grow0:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
jp asm_obstack_grow0
|
; Close IP V1.00 2004 Marcel Kilgus
section ip
xdef ip_close
include 'dev8_keys_qlv'
include 'dev8_smsq_qpc_ip_data'
include 'dev8_smsq_qpc_keys'
ip_close
move.l a0,-(sp)
move.l chn_data(a0),a0
dc.w qpc.ipcls
move.l (sp)+,a0
move.w mem.rchp,a2
jmp (a2)
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.