text stringlengths 1 1.05M |
|---|
; A037591: Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
; 1,5,28,141,705,3528,17641,88205,441028,2205141,11025705,55128528,275642641,1378213205,6891066028,34455330141,172276650705,861383253528,4306916267641,21534581338205,107672906691028,538364533455141
seq $0,3755... |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [(2.0 * (49.0 / 7.0 - 3.0))=]
.const 3 real [2.000000]
.const 4 real [49.000000]
.const 5 real [7.000000]
.const 6 real [3.000000]
.const 7 int [2]
.const 8 string [io.writeln]
.e... |
; A084640: Generalized Jacobsthal numbers.
; 0,1,5,11,25,51,105,211,425,851,1705,3411,6825,13651,27305,54611,109225,218451,436905,873811,1747625,3495251,6990505,13981011,27962025,55924051,111848105,223696211,447392425,894784851,1789569705,3579139411,7158278825,14316557651,28633115305,57266230611,114532461225,2290649224... |
; A133898: Numbers m such that binomial(m+8,m) mod 8 = 0.
; 56,57,58,59,60,61,62,63,120,121,122,123,124,125,126,127,184,185,186,187,188,189,190,191,248,249,250,251,252,253,254,255,312,313,314,315,316,317,318,319,376,377,378,379,380,381,382,383,440,441,442,443,444
mov $2,$0
div $0,8
mov $1,56
mov $3,1
add $3,$0
mul $1,... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/files/file_util.h"
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <limits.h>
#include <stdio.h... |
const_def
const PINK_PAGE ; 0
const GREEN_PAGE ; 1
const BLUE_PAGE ; 2
const ORANGE_PAGE ; 3
NUM_STAT_PAGES EQU const_value
BattleStatsScreenInit:
ld a, [wLinkMode]
cp LINK_MOBILE
jr nz, StatsScreenInit
ld a, [wBattleMode]
and a
jr z, StatsScreenInit
jr _MobileStatsScreenInit
StatsScreenInit:
ld hl... |
;##########################################################################
;# BSrom140 - Modified ZX Spectrum ROM - (c) Busy soft - Release 22.04.97 #
;##########################################################################
; Original ROM: (c) Amstrad
OUTPUT "bsrom140.bin"
VERZIA: EQU 140
... |
section .text
global _start ; must be declared for using gcc
_start: ; tell linker entry point
mov ax, 8h ; getting 8 in the ax (EVEN)
and ax, 1 ; and ax with 1
jz evnn
mov eax, 4 ; system call number (sys_write)
mov ... |
//
// RenderViewTask.cpp
// render-utils/src/
//
// Created by Sam Gateau on 5/25/2017.
// Copyright 2017 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "RenderViewTask.h"
#include "R... |
; BIOS COLORS FOR REFERENCE:
;
; 01h - BLUE
; 02h - GREEN
; 03h - CYAN
; 04h - RED
; 05h - MAGENTA
; 06h - YELLOW
; 07h - GRAY
; 08h - DARK GREEN
; 09h - LIGHT BLUE
; 0Ah - LIGHT GREEN
; 0Bh - LIGHT CYAN
; 0Ch - ORANGE
; 0Dh - PINK
; 0Eh - LIGHT LIGHT GREEN
; 0Fh - LIGHT LIGHT CYAN
;
%d... |
;++
;
; Copyright (c) Microsoft Corporation
;
; Module Name:
;
; bllegacy.asm
;
; Abstract:
;
; This module implements legacy call support.
;
; Environment:
;
; Boot loader.
;
;--
include bl.inc
.686p
.model flat
.code
assume ds:flat
assume es:flat
assume ss:flat
assume fs:flat
.code
;
; Legacy call fr... |
.target "65816"
.setting "LaunchCommand", "wsl /mnt/c/Users/Owner/Documents/BE6502-Project/x6502/x6502 {0}"
.memory "fill", $8000, $8000, $ea
PORTB = $7f80
PORTA = $7f81
DDRB = $7f82
DDRA = $7f83
ACIA_DATA = $7f90
ACIA_STAT = $7f91 ;read only
ACIA_CMD = $7f92
ACIA_CNTL = $7f93
LCD_EN = $80
LCD_RW = $40
L... |
HEADER_MAGIC equ "_ cole _"
HEADER_FLAGS equ 0x00000000
[BITS 64]
[section .text]
global _start
_start:
jmp start
extern ctr0, pipe_r, ptr_mouse2
extern _end
Align 8
header:
dq HEADER_MAGIC
dq HEADER_FLAGS
dq header
dq _start
dq 0
dq _end
dq 0
dq 0
times 0x1000 -($-$$) db 0
start... |
; A017659: (12n+11)^7.
; 19487171,3404825447,64339296875,506623120463,2488651484819,9095120158391,27136050989627,69833729609375,160578147647843,337931541778439,662062621900811,1222791080775407,2149422977421875,3622557586593623,5888046306640859,9273284218074431,14206014885142787,21235828992734375,31058537410917803,44543... |
; A111567: Binomial transform of A048654: generalized Pellian with second term equal to 4.
; 1,5,18,62,212,724,2472,8440,28816,98384,335904,1146848,3915584,13368640,45643392,155836288,532058368,1816560896,6202126848,21175385600,72297288704,246838383616,842758957056,2877359060992,9823918329856,33540955197440,11451598413... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\INTERNALTEST_op_DivRem.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A... |
! ======================================================= !
! Muliply two positive numbers !
! ------------------- !
! This program will multiply the numbers located at !
! memory locations [x] and [y] and will store the result !
! in [z]. ... |
#include <boost/bind.hpp>
#include <vector>
#include <algorithm>
bool compare(int i, int j)
{
return i > j;
}
int main()
{
std::vector<int> v;
v.push_back(1);
v.push_back(3);
v.push_back(2);
std::sort(v.begin(), v.end(), compare);
} |
/* Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This file was pretty much copied from newlib.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteMm4.Asm
;
; Abstract:
;
; AsmWriteMm4 function
;
; Notes:
;
;----------------------------------... |
; A246435: Length of representation of n in fractional base 3/2.
; 1,1,1,2,2,2,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9
div $0,3
lpb $0
mul $0,6
div $0,9
add $1,1
lpe... |
; A041545: Denominators of continued fraction convergents to sqrt(290).
; Submitted by Jamie Morken(s2)
; 1,34,1157,39372,1339805,45592742,1551493033,52796355864,1796627592409,61138134497770,2080493200516589,70797906952061796,2409209329570617653,81983915112353061998,2789862323149574725585,94937302902197893731888,323065... |
SYS_EXIT equ 1
SYS_READ equ 3
SYS_WRITE equ 4
STDIN equ 0
STDOUT equ 1
section .data
ask db 'Enter a number : '
len1 equ $-ask
tell db 'Decremented number : '
len2 equ $-tell
section .bss
num resb 2
section .text
global _start ;must be declared for linker (ld)
_start: ;tell linker entry p... |
/*
* FreeRTOS V202011.00
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, incl... |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc pushl -0x4(%ecx)
... |
SECTION code_fp_math48
PUBLIC dcallee1
EXTERN cm48_sccz80p_dcallee1
defc dcallee1 = cm48_sccz80p_dcallee1
|
;*****************************************************************************
;* const-a.asm: x86 global constants
;*****************************************************************************
;* Copyright (C) 2010-2014 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Jason Garrett-Glas... |
; void sms_scroll_wc_up(struct r_Rect8 *r, uchar rows, uint bgnd_char)
SECTION code_clib
SECTION code_arch
PUBLIC _sms_scroll_wc_up_callee
EXTERN asm_sms_scroll_wc_up
_sms_scroll_wc_up_callee:
pop hl
pop ix
dec sp
pop de
ex (sp),hl
ld e,d
jp asm_sms_scroll_wc_up
|
// 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 may... |
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "HeterogeneousCore/CUDAUtilities/interface/MessageLogger.h"
namespace cms::cuda {
LogSystem::~LogSystem() { edm::LogSystem(category_) << message_.str(); }
LogAbsolute::~LogAbsolute() { edm::LogAbsolute(category_) << message_.str(); }
LogError:... |
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_SSE_PCLMULQDQ proto VECCALL (byte)
align 16
uXm_has_SSE_PCLMULQDQ proc VECCALL (byte)
ifnde... |
; A225894: Number of n X 2 binary arrays whose sum with another n X 2 binary array containing no more than a single 1 has rows and columns in lexicographically nondecreasing order.
; 4,12,33,78,162,304,527,858,1328,1972,2829,3942,5358,7128,9307,11954,15132,18908,23353,28542,34554,41472,49383,58378,68552,80004,92837,107... |
#include "hwlib-demo.hpp" |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19ee2, %rbx
nop
nop
nop
cmp $62386, %r11
movl $0x61626364, (%rbx)
xor $3007, %rbx
lea addresses_A_ht+0x547a, %r9
nop
nop
cmp $25439, %rdi
mov $0x6162636465666768, %rax
movq %r... |
#ifndef SOLVER_HPP
#define SOLVER_HPP
#include "mesh.hpp"
#include "volatility.hpp"
#include "rates.hpp"
#include "payoff.hpp"
#include "boundaries.hpp"
#include <vector>
namespace dauphine
{
//Creation initial price vector
std::vector<double> initial_price_vector(const mesh& m, const payoff& p, const rates& ... |
/*
* Copyright (C) 2017-2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/device/device.h"
#include "runtime/built_ins/built_ins.h"
#include "unit_tests/fixtures/built_in_fixture.h"
#include "unit_tests/helpers/kernel_binary_helper.h"
#include "unit_tests/helpers/test_files.h"
#includ... |
Cries: ; e91b0
dba Cry_Nidoran_M
dba Cry_Nidoran_F
dba Cry_Slowpoke
dba Cry_Kangaskhan
dba Cry_Charmander
dba Cry_Grimer
dba Cry_Voltorb
dba Cry_Muk
dba Cry_Oddish
dba Cry_Raichu
dba Cry_Nidoqueen
dba Cry_Diglett
dba Cry_Seel
dba Cry_Drowzee
dba Cry_Pidgey
dba Cry_Bulbasaur
dba Cry_Spearow
dba Cry_Rhy... |
;=============================================================================|
; _______ _________ _______ _______ |
; ( ____ \\__ __/|\ /|( ____ \( ____ ) |
; | ( \/ ) ( | ) ( || ( \/| ( )| |
... |
; _Noreturn void _exit_fastcall(int status)
SECTION code_fcntl
PUBLIC __exit_fastcall
EXTERN __Exit
defc __exit_fastcall = __Exit
|
;******************************************************************************
;* DIV0.ASM *
;* Copyright (c) 2017@%%%% Texas Instruments Incorporated *
;******************************************************************************
... |
; A021169: Decimal expansion of 1/165.
; 0,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6
trn $0,1
mod $0,2
mul $0,6
|
lda {c1},y
sec
sbc #<{c2}
sta {m1}
lda {c1}+1,y
sbc #>{c2}
sta {m1}+1
|
Route5_Script:
jp EnableAutoTextBoxDrawing
Route5_TextPointers:
dw Route5Text1
Route5Text1:
TX_FAR _Route5Text1
db "@"
|
;===============================================================================
; Copyright 2014-2018 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") co... |
// Copyright (c) 2011-2013 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 "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(par... |
; A063376: a(-1) = 1; for n >= 0, a(n) = 2^n + 4^n = 2^n*(1 + 2^n).
; 1,2,6,20,72,272,1056,4160,16512,65792,262656,1049600,4196352,16781312,67117056,268451840,1073774592,4295032832,17180000256,68719738880,274878431232,1099512676352,4398048608256,17592190238720,70368752566272,281474993487872,1125899940397056,45035996944... |
;This software is ment to be used to create a loopback on the UART
;It is went to be used with an 8 bit processor and the minimal set of peripherals
;R2 should contain the base address for the UART
;R1 should contain the base address for the interrupt manager
label uart_int_routine
cpy R4 ;storing the working register... |
; A011861: a(n) = floor(n(n-1)/8).
; 0,0,0,0,1,2,3,5,7,9,11,13,16,19,22,26,30,34,38,42,47,52,57,63,69,75,81,87,94,101,108,116,124,132,140,148,157,166,175,185,195,205,215,225,236,247,258,270,282,294,306,318,331,344,357,371,385,399,413,427,442,457,472,488,504,520,536,552,569,586,603,621,639,657,675,693,712,731,750,770,79... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _pow
EXTERN cm48_sdccix_pow
defc _pow = cm48_sdccix_pow
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x123f4, %rsi
lea addresses_A_ht+0x19cb4, %rdi
clflush (%rdi)
nop
nop
nop
nop
inc %r11
mov $64, %rcx
rep movsw
nop
dec %r15
pop %rsi
pop %rdi
pop %rcx
pop %r15
pop %r11
ret
.global s_faulty_load
s_faul... |
/**
@author Shin'ichiro Nakaoka
*/
#include "PythonConsoleView.h"
#include "PythonScriptItem.h"
#include "PythonExecutor.h"
#include <cnoid/PyUtil>
#include <cnoid/Plugin>
#include <cnoid/AppConfig>
#include <cnoid/MenuManager>
#include <cnoid/ViewManager>
#include <cnoid/ItemManager>
#include <cnoid/ExecutablePath... |
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
TITLE Alphabet Finder (HW7 - Problem 1) - Ethan Brown (Problem 1.asm)
INCLUDE Irvine32.inc
;-------------------------------------------------------------------
; Alphabet Finder
;
; Ingests an alphanumeric array, looks for the first alph... |
; 8080 assembler code
.hexfile printstr.hex
.binfile readStr.com
; try "hex" for downloading in hex format
.download bin
.objcopy gobjcopy
.postbuild echo "OK!"
;.nodump
; OS call list
PRINT_B equ 1
PRINT_MEM equ 2
READ_B equ 3
READ_MEM equ 4
PRINT_S... |
;*******************************************************************************
;*+--------------------------------------------------------------------------+**
;*| **** |**
;*| **** ... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_drawW(unsigned char tile, unsigned char lin, unsigned char col)
... |
; 08074D28 originally replaced certain strings with character names.
; We use control codes to do that now, which is cleaner and supports long text better.
.org 0x08074D6C
.region 0x08074DAE-.,0x00
b 0x08074DAE
.endregion
; Essentially the same as the above in 08074CAC, this is used with the ??????? text allowed too.
... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
.AREPEAT 10
TEN
.AREPEAT 2
TWENTY
.AENDR
.AENDR
.AREPEAT 3
ROTCL R2
DIV1 R0,R1
.AENDR
.END
|
/************************************************************************************
Filename : SurfaceRender.cpp
Content : Optimized OpenGL rendering path
Created : August 9, 2013
Authors : John Carmack
Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights re... |
ins1
KP_OSCV $90,0,1,0,$00
KP_OSCV $C8,0,1,0,$00
KP_OSCV $B4,0,1,0,$00
KP_OSCV $84,0,1,0,$00
KP_OSCV $7C,0,1,0,$00
KP_OSCV $A4,0,1,0,$00
ins1loop
KP_OSCV $74,0,0,0,$00
KP_OSCJ [ins1loop-ins1]
vol1
KP_VOLV $08,$05
vol1loop
KP_VOLV $00,$00
KP_VOLJ [vol1loop-vol1]
ins2
KP_OSCV $5C,0,1,0,$00
KP_OSCV $44,0,1,0... |
#include <stdio.h>
#include <testComponent502/lib1.h>
int testComponent502_15 () {
printf("Hello world!\n");
return 0;
}
|
#include "stdafx.h"
#include "xrUICore/UIWindow.h"
#include "Window.h"
XRay::Window::Window(IntPtr InNativeObject)
{
CAST_TO_NATIVE_OBJECT(CUIWindow, InNativeObject);
}
System::Numerics::Vector2 XRay::Window::Position::get()
{
Fvector2 wndPos;
wndPos = pNativeObject->GetWndPos();
return Vector2(wndPos.x, wndPos... |
USING 0
MOV R0, #4
MOV R1, #3
CALL sum
MOV R2,A
sum:
PUSH PSW
PUSH AR0
PUSH AR1
CLR A
ADD A, AR0
ADD A, AR1
POP AR1
POP AR0
POP PSW
RET
|
; A119616: Second elementary symmetric function of divisors of n.
; 0,2,3,14,5,47,7,70,39,97,11,287,13,163,158,310,17,533,19,609,262,343,23,1375,155,457,390,1043,29,1942,31,1302,542,733,502,3185,37,895,718,2945,41,3358,43,2247,1859,1267,47,5983,399,2697,1142,3017,53,5150,1006,5075,1390,1945,59,11382,61,2203,3133,5334,1... |
[BITS 32]
[CPU 486]
GLOBAL HariMain
section .text
HariMain:
MOV AX, 1005 * 8
MOV DS, AX
CMP DWORD [DS:0x0004], 'Hari'
JNE fin ; アプリではないようなのでなにもしない
MOV ECX, [DS:0x0000] ; データセグメントの大きさを読み取る
MOV AX, 2005 * 8
MOV DS, AX
crackloop: ... |
; A346514: a(n) = n^4 + 28*n^3 + 252*n^2 + 784*n + 448.
; Submitted by Jamie Morken(s1)
; 448,1513,3264,5905,9664,14793,21568,30289,41280,54889,71488,91473,115264,143305,176064,214033,257728,307689,364480,428689,500928,581833,672064,772305,883264,1005673,1140288,1287889,1449280,1625289,1816768,2024593,2249664,2492905,2... |
#include <time.h>
#include "thread_pool.h"
#include "openmit/tools/dstruct/threadsafe_map.h"
#include <unordered_map>
#include <unistd.h>
double GetTime(void) {
timespec ts;
if (clock_gettime(CLOCK_REALTIME, &ts) == 0) {
return static_cast<double>(ts.tv_sec) +
static_cast<double>(ts.tv_nsec) * 1e-9;
}... |
.ORIG x1234
LDB R0, R6, #0
LDB R0, R6, #0
LDB R0, R6, #0
LDB R0, R6, #0
LDB R0, R6, #0
.END
|
// Item.hpp
#ifndef __ITEM_HPP__
#define __ITEM_HPP__
// AOS Includes
#include "GameObject.hpp"
class Item : public GameObject
{
public:
Item(const std::string& p_Keyname);
void Collide(GameObject* p_GameObject);
virtual void InflictBonus(GameObject* p_GameObject);
};
#endif
|
// Copyright 2015 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "historywork/GetHistoryArchiveStateWork.h"
#include "crypto/Hex.h"
#include "crypto/Ra... |
#include "Game.h"
#include "raylib.h"
#include <iostream>
Game::Game()
{
targetFixedStep = 1.0f / 30.0f;
accmulatedFixedTime = 0.0f;
}
Game::~Game()
{
}
void Game::init()
{
int screenWidth = 800;
int screenHeight = 600;
InitWindow(screenWidth, screenHeight, "Sand Game");
SetTargetFPS(60);
}
void Game::tic... |
//===--- ParseExpr.cpp - Swift Language Parser for Expressions ------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
; A062717: Numbers m such that 6*m+1 is a perfect square.
; 0,4,8,20,28,48,60,88,104,140,160,204,228,280,308,368,400,468,504,580,620,704,748,840,888,988,1040,1148,1204,1320,1380,1504,1568,1700,1768,1908,1980,2128,2204,2360,2440,2604,2688,2860,2948,3128,3220,3408,3504,3700,3800,4004,4108,4320,4428,4648,4760,4988,5104,53... |
; int compare_dostm(struct dos_tm *a, struct dos_tm *b)
SECTION code_time
PUBLIC compare_dostm
EXTERN asm_compare_dostm
compare_dostm:
pop af
pop bc
pop hl
push hl
push bc
push af
jp asm_compare_dostm
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _compare_dostm
defc _compare_dostm = c... |
Name: kart-bg-p.asm
Type: file
Size: 17694
Last-Modified: '1992-08-06T07:16:30Z'
SHA-1: 341A00E2392B46A91FB5249CFC847F89F27DF2B3
Description: null
|
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; AND8ri
mov ah, 0xcd
;TEST_BEGIN_RECORDING
and ah, 0x3
;TEST_END_RECORDING
|
; A176734: a(n) = (n+7)*a(n-1) + (n-1)*a(n-2), a(-1)=0, a(0)=1.
; Submitted by Jamie Morken(s1)
; 1,8,73,746,8425,104084,1395217,20157542,312129649,5155334720,90449857081,1679650774658,32908313146393,678322072223756,14672571587601985,332293083938376254,7862829504396683617,194024597448534426872,4984283037788104293289,13... |
;;
;; Copyright (c) 2012-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
// Copyright (c) 2012 Intel Corp
// Copyright (c) 2012 The Chromium Authors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <iputtest>:
int stdout = 1;
// does chdir() call iput(p->cwd) in a transaction?
void
iputtest(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 08 sub $0x... |
; 50HZ.COM
RDSLT equ 0000Ch
RG9SAV equ 0FFE8h
RG1SAV equ 0F3E0h
org 0100h
ld a,(0fcc1h)
ld hl,0007h
call RDSLT
ld c,a
inc c
ld a,(0fcc1h)
ld hl,002dh
push bc
call RDSLT
pop bc
or a
jr z,MSX1
MSX2:
ld a,(RG9SAV)
jr CONTINUE
MSX1:
ld a,0
CONTINUE:
or 2
di
out (c),a
ld (RG... |
.text
li $t1,-1
li $t2,1
li $t3,-3
li $t4,3
sltiu $s1,$t1,-3
sltiu $s2,$t1,3
sltiu $s3,$t2,-3
sltiu $s4,$t2,3 |
// This file is part of the dune-xt project:
// https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt
// Copyright 2009-2021 dune-xt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (h... |
/*
* GDevelop C++ Platform
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
* reserved. This project is released under the MIT License.
*/
#include "RuntimeLayer.h"
#include <SFML/Graphics.hpp>
#include "GDCpp/Runtime/Project/Layer.h"
#include "GDCpp/Runtime/RuntimeScene.h"
Runti... |
bits 32
global start
extern exit , printf
import exit msvcrt.dll
import printf msvcrt.dll
segment data use32 class=data
s db 10 , 1 , 9 , 88 , 77 , 88 , 9 , 1 , 10 , 100
len equ ($-s)
copie dd -1
negative db "Sirul dat nu este palindromic!" ... |
// Reference file for Minimal struct - using address-of
// Commodore 64 PRG executable file
.file [name="struct-ptr-12-ref.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segme... |
main:
mov x1, 0xFFEEDDCCBBAA
ldr x0, [b1, 0]
prgi
ret
|
SP = SP - 8
M[SP + 4] = NEG180
M[SP] = 7
CALL <remainder>
M[SP + 4] = RV
M[SP] = 0
R1 = M[SP]
BGE R1, 1000, PC + 32
R1 = M[SP + 4] ; For excess space removal demonstration
R1 = R1 + 1
M[SP + 4] = R1 ; For excess tab and space removal demonstration
R1 = M[SP]
R1 = R1 + 1
M[SP] = R1
JUMP PC ... |
; A044409: Numbers n such that string 7,7 occurs in the base 10 representation of n but not of n-1.
; 77,177,277,377,477,577,677,770,877,977,1077,1177,1277,1377,1477,1577,1677,1770,1877,1977,2077,2177,2277,2377,2477,2577,2677,2770,2877,2977,3077,3177,3277,3377,3477,3577,3677,3770,3877
mov $1,$0
add $1,3
gcd $1,10
div ... |
; A052569: E.g.f. 1/((1-x)(1-x^3)).
; 1,1,2,12,48,240,2160,15120,120960,1451520,14515200,159667200,2395008000,31135104000,435891456000,7846046208000,125536739328000,2134124568576000
mov $2,$0
mov $1,1
div $2,3
add $1,$2
cal $0,142
mul $1,$0
|
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dsigdig
am48_dsigdig:
; exit : b = number of significant hex digits in double representation
; c = number of significant decimal digits in double representation
;
; uses : bc
ld bc,$0a0b
ret
|
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#include <java/awt/Component.hpp>
extern void unimplemented_(const char16_t* name);
/* private: void java::awt::Component::initIDs() */
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x45d1, %rsi
lea addresses_UC_ht+0x4599, %rdi
nop
nop
nop
nop
nop
sub $21618, %rbx
mov $64, %rcx
rep movsl
nop
nop
cmp %rcx, %rcx
lea addresses_A_ht+0x1dc3, %r12
nop
nop
nop
nop... |
\
\ (c) Alastair Montgomery
\
\ Common constants
\
oswrch = &FFEE |
// Copyright (C) 2019 - 2020 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelbe... |
;-------------------------------------------------------------------------
; Native terminal i/o functionality for micro8085_cilb (stdio interface)
SECTION code_clib
EXTERN _urxbuf
EXTERN _getidx
PUBLIC getk
PUBLIC _getk
;--------------------------------------------... |
; void *tshr_pxy2saddr(uint x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC tshr_pxy2saddr
EXTERN asm_tshr_pxy2saddr
tshr_pxy2saddr:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_tshr_pxy2saddr
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshr_pxy2saddr
defc _tshr_pxy2saddr =... |
global math.log2
extern sys.error
%include "err.inc"
; math.log2(RAX) => RAX
; calculate base 2 logarithm of an integer
math.log2: ; math.log2(val)
test rax, rax ; validate argument
jnz .valid ; arg is good if not 0
mov rax, EUNDEF ; log2(0) is undefined
call sys.er... |
*= $ba69
.xl
PHP
PHB
REP #$10
SEP #$20
.as
LDA #$7E
PHA
... |
; thin red line by Kirk Israel
processor 6502
include ../vcs.h
org $F000
Start
SEI
CLD
LDX #$FF
TXS
LDA #0
ClearMem
STA 0,X
DEX
BNE ClearMem
LDA #$00
STA COLUBK
LDA #33
STA COLUP0
MainLoop
LDA #2
STA VSYNC
STA WSYNC
STA WSYNC
STA WSYNC
LDA #43
STA TIM64T
LDA #0
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.